« Bugzilla Issues Index
#59 — S7.8.4_A4.3_T1 & S7.8.4_A4.3_T2 are incorrect with respect to appendix B.1.2
- bug_id:
59
- creation_ts:
2011-03-07 23:44:00 -0800
- short_desc:
S7.8.4_A4.3_T1 & S7.8.4_A4.3_T2 are incorrect with respect to appendix B.1.2
- delta_ts:
2011-09-25 10:44:19 -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/7978df65e6b6
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
barraclough
- assigned_to:
Mark S. Miller
- cc:
["dfugate", "erights"]
- commentid:
133
- comment_count:
0
- who:
barraclough
- bug_when:
2011-03-07 23:44:06 -0800
Section B.1.2 of ES5 states:
"The syntax and semantics of 7.8.4 can be extended as follows except that this extension is not allowed for strict mode code:"
As such, the escapes checked in these test cases can validly be matched by an implementation against the OctalEscapeSequence rule in section B.1.2 of the spec.
But, per the section of the spec quoted above, octal escapes are prohibited in strict mode. I'd suggest these tests could be fixed by adding a "use strict"; into the test string being eval'ed in the test.
- commentid:
171
- comment_count:
1
- who:
Dave Fugate
- bug_when:
2011-03-23 15:12:56 -0700
Yes, you're absolutely correct. Disabling as per https://bugs.ecmascript.org/show_bug.cgi?id=80 until Google gets a chance to update these test cases.
- commentid:
473
- comment_count:
2
- who:
Mark S. Miller
- bug_when:
2011-09-25 10:44:19 -0700
Fixed at http://hg.ecmascript.org/tests/test262/rev/7978df65e6b6