archives

« Bugzilla Issues Index

#120 — S15.10.2.11_A1_T2 and S15.10.2.11_A1_T3 invalid due to extension clause


S15.10.2.11_A1_T2 and S15.10.2.11_A1_T3 validate that the equivilent of:
var x = /\1/;

throw an error - section 15.10.2.11 does not specify the type of error. Step four of 15.10.2.9 actually does specify a SyntaxError is expected here. Via the extension clause of Chapter 16, browsers are legally allowed *not* to throw the SyntaxError and exhibit entirely different behavior. Consequently, I've disabled both of these as invalid.


Fixed by http://hg.ecmascript.org/tests/test262/rev/b21a063b968e