Closed
Bug 770856
Opened 13 years ago
Closed 13 years ago
Regression: allow the use of ECMAScript identifiers that unescape to a reserved word
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 744784
People
(Reporter: mathias, Unassigned)
References
Details
After bug 694360, a patch landed that made e.g. `var thi\u0073;` a SyntaxError rather than following the compatibility requirements listed here: http://mathias.html5.org/specs/javascript/#escaped-reserved-words
Firefox is the only browser to error on this. It may be correct as per the ECMAScript spec (and in a perfect world, all engines would implement it like this, and no one would use identifiers like that), but it doesn’t match other implementations.
Please consider reverting the change for compatibility/interoperability reasons.
Tests: http://mathias.html5.org/tests/javascript/identifiers/
| Reporter | ||
Updated•13 years ago
|
See Also: → https://bugs.ecmascript.org/show_bug.cgi?id=277
| Reporter | ||
Updated•13 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•