« Bugzilla Issues Index
#120 — S15.10.2.11_A1_T2 and S15.10.2.11_A1_T3 invalid due to extension clause
- bug_id:
120
- creation_ts:
2011-07-06 14:42:00 -0700
- short_desc:
S15.10.2.11_A1_T2 and S15.10.2.11_A1_T3 invalid due to extension clause
- delta_ts:
2011-09-24 19:32:04 -0700
- product:
Test262
- component:
ECMA-262 Tests
- version:
unspecified
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- bug_file_loc:
http://hg.ecmascript.org/tests/test262/rev/b21a063b968e
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Dave Fugate
- assigned_to:
Mark S. Miller
- cc:
erights
- commentid:
269
- comment_count:
0
- who:
Dave Fugate
- bug_when:
2011-07-06 14:42:08 -0700
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.
- commentid:
469
- comment_count:
1
- who:
Mark S. Miller
- bug_when:
2011-09-24 19:32:04 -0700
Fixed by http://hg.ecmascript.org/tests/test262/rev/b21a063b968e