archives

« Bugzilla Issues Index

#1925 — 21.2.3.3 - RegExpAlloc: Invalid assertion in step 1


The assertion in step 1 for 21.2.3.3 - RegExpAlloc is invalid.

test case: RegExp[getSym("@@create")].call({})

It can safely be removed because following the calls RegExpAlloc -> OrdinaryCreateFromConstructor -> GetPrototypeFromConstructor a TypeError will be thrown for non-constructors.


fixed in rev19 editor's draft


fixed in rev19