archives

« Bugzilla Issues Index

#2051 — 24.1.4.3 ArrayBuffer.prototype.slice: Ensure newly created ArrayBuffer is big enough


24.1.4.3 ArrayBuffer.prototype.slice(start, end), steps 16-19:

Add an additional step to ensure `new's [[ArrayBufferByteLength]] ≥ newLen`. [[Construct]] for ArrayBuffer subclasses may be altered to allocate less than `newLen` bytes of memory.


fixed in rev20 editor's draft


fixed in rev20 draft, Oct. 28, 2013