archives

« Bugzilla Issues Index

#1940 — 22.2.1.3: Missing [[ViewedArrayBuffer]] state check in %TypedArray% constructor


22.2.1.3 %TypedArray% ( array )

Steps 9-10 and 20.b-20.c can trigger side-effects, that means in addition to the [[ViewedArrayBuffer]] check in step 5 and an additional check needs to be done before step 21 to avoid initialising a typed array instance multiple times. The [[ViewedArrayBuffer]] check in step 5 should not be removed or moved down in order to be consistent with the other %TypedArray% constructors.


fixed in rev19 editor's draft


fixed in rev19