« Bugzilla Issues Index
#1798 — Add a test making sure that reserved keywords aren't allowed as function identifiers
- bug_id:
1798
- creation_ts:
2013-08-22 03:22:00 -0700
- short_desc:
Add a test making sure that reserved keywords aren't allowed as function identifiers
- delta_ts:
2013-08-25 08:17:34 -0700
- product:
Test262
- component:
ECMA-262 Tests
- version:
unspecified
- rep_platform:
All
- op_sys:
All
- bug_status:
CONFIRMED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
David Bruant
- assigned_to:
Brian Terlson
- cc:
mathias
- commentid:
4999
- comment_count:
0
- who:
David Bruant
- bug_when:
2013-08-22 03:22:35 -0700
Context:
https://mail.mozilla.org/pipermail/es-discuss/2013-August/032804.html
https://mail.mozilla.org/pipermail/es-discuss/2013-August/032811.html
Currently SpiderMonkey allows that and the test suite doesn't seem to capture this deviation. To prevent this deviation from conforming implementations, a test might be a good idea.
- commentid:
5012
- comment_count:
1
- who:
Brian Terlson
- bug_when:
2013-08-22 12:23:02 -0700
This does seem like a test hole. However, this extension is allowed, and we often don't add tests to lock down extensions that don't cause interop issues (eg. we aren't failing everyone for allowing functions in blocks). That said, I'll default to adding tests unless someone wants to push back :)