archives

« Bugzilla Issues Index

#1568 — 15.13.7.4: invalid range check in GetValue/SetValue


Step 4 of [G|S]etValue in 15.13.7.4 performs an invalid range check.

Change from:
> 4. If totalOffset ≥ byteLength, throw a RangeError exception

to:
> 4. If byteOffset + the element size in bytes of type > byteLength, throw a RangeError exception


Created attachment 66
rev16 rewrite of DataView 15.13.7


fixed in rev16 editor's draft

The DataVeiew section of the spec. has been bogus up to now. It's been completely redone for rev 16. A PDF of the rewrite is attached.


fixed in rev16 draft. July 15, 2013