archives

« Bugzilla Issues Index

#1440 — TypedArray: constructor lacks spec for out of bounds offset


Section "15.13.6.1.4 TypedArray ( buffer, byteOffset=0, length=undefined )" lacks specification of what should happen if offset is greater than bufferByteLength.

Suggested behavior: throw RangeError
(Current implementations of WebGL arrays do this)


fixed in rev15 editor's draft


resolved in rev 15, May 14, 2013 draft