archives

« Bugzilla Issues Index

#2783 — 22.2.2.1.1 TypedArrayFrom: Invalid assertions in steps 2, 5 and 10.i.i


22.2.2.1.1 Runtime Semantics: TypedArrayFrom( constructor, target, items, mapfn, thisArg )

- Assertion in step 2 is not valid, see bug 2782.

- Assertion in step 5 is not valid, 22.2.2.1 %TypedArray%.from does not perform any argument checks on `mapfn`. Maybe move IsCallable check to 22.2.2.1 %TypedArray%.from, then assert `mapfn` is either Undefined or Callable in 22.2.2.1.1 TypedArrayFrom ?

- Assertion in step 10.i.i is not valid, side-effects may have initialized `target`.


fixed in rev25 editor's draft

along with some other refactorings


fixed in rev25 editor's draft