archives

« Bugzilla Issues Index

#2059 — 24.1.2.1 ArrayBuffer(): argument validation accepts Infinity


24.1.2.1 ArrayBuffer(length), step 6:

`new ArrayBuffer(Infinity)` is not rejected in this step, but is possibly should be rejected.


change to use ToLength and SameValue comparison. Allow for typed array constructors

fixed in rev20 editor's draft


fixed in rev20 draft, Oct. 28, 2013