archives

« Bugzilla Issues Index

#2175 — 22.2.1.2 %TypedArray%: Different [[Prototype]] for copied ArrayBuffer depending on element types


22.2.1.2 %TypedArray% ( typedArray ), steps 25-26:

CloneArrayBuffer in step 25 may create an ArrayBuffer object with a different [[Prototype]] than %ArrayBuffer%.prototype, whereas step 26 will always create an ArrayBuffer with %ArrayBuffer%.prototype as the [[Prototype]]. See Get(..., "constructor") in CloneArrayBuffer.

This should be made more consistent.


fixed in rev21 editor's draft


fixed in rev21 draft