Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.5.0 Alpha
-
None
Description
Creation of the typed array view from a subset of given ArrayBuffer doesn't work correctly. The created typed array is initialized to 0's rather than showing a view to the subset of the values in the ArrayBuffer. This means that code like this doesn't work as expected:
var srcBuffer = new Uint8Array( arrayBuffer, dataOffset, dataLength );
Attached test code demonstrates the issue. The values in the created Uint8Array should be from the original ArrayBuffer, from the specified offset.