Closed
Bug 23610
Opened 25 years ago
Closed 25 years ago
JavaScript mishandles format-control characters
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: waldemar, Assigned: rogerl)
Details
(Keywords: js1.5)
ECMAScript Edition 3 section 7.1 requires JavaScript to ignore format-control
characters (Unicode category Cf) that occur in the program source. Our engine
generates syntax errors for them:
js> eval("2\u200E4")
7: SyntaxError: illegal character:
7: 24
7: .^
The correct answer here is 24.
Updated•25 years ago
|
Assignee: mccabe → rogerl
Comment 1•25 years ago
|
||
Forwarding to Roger.
Comment 2•25 years ago
|
||
testcsae ecma_3/Unicode/uc-001.js added
Assignee | ||
Comment 3•25 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•