« Bugzilla Issues Index
#12 — S7.5.3_A1.15.js is invalid outside of Strict Mode
- bug_id:
12
- creation_ts:
2011-02-10 14:51:00 -0800
- short_desc:
S7.5.3_A1.15.js is invalid outside of Strict Mode
- delta_ts:
2011-09-25 11:34: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/a53cfb64396b
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Dave Fugate
- assigned_to:
Mark S. Miller
- cc:
erights
- commentid:
17
- comment_count:
0
- who:
Dave Fugate
- bug_when:
2011-02-10 14:51:32 -0800
According to 7.6.1.2, 'implements' is only a FutureReservedWord under the context of Strict Mode.
Disabling this test until we have a metadata story around specifying which tests are Strict Mode only, and Google has a chance to update the test case to include "use strict".
- commentid:
267
- comment_count:
1
- who:
Dave Fugate
- bug_when:
2011-07-06 10:46:15 -0700
Changes from Sputnik have been ported over, but they're incorrect. The new file looks like:
"use strict";
implements = 1;
Notice that 'implements' isn't preceded by 'var ' which is another strict mode violation => a pass of this test doesn't necessarily mean the feature has been implemented correctly. It could just mean strict mode's 'var' restriction has been implemented by a browser.
- commentid:
278
- comment_count:
2
- who:
Dave Fugate
- bug_when:
2011-07-07 09:36:47 -0700
S7.5.3_A1.[15, 18, 21, 22, 23, 24, 26].js all have this issue.
- commentid:
477
- comment_count:
3
- who:
Mark S. Miller
- bug_when:
2011-09-25 11:34:19 -0700
Fixed at http://hg.ecmascript.org/tests/test262/rev/a53cfb64396b