archives

« Bugzilla Issues Index

#1461 — TypedArray: incorrect condition for newByteLength RangeError


See 15.13.6.1.4, Step 11d. It says:
"If newByteLength > bufferByteLength, then throw a RangeError exception."

It should clearly be:
"If offset+newByteLength > bufferByteLength, then throw a RangeError exception."


fixed in rev 15 editor's draft


resolved in rev 15, May 14, 2013 draft