Closed Bug 663300 Opened 14 years ago Closed 13 years ago

If \u is not followed by four hex characters it must be a syntax error (mutatis mutandis for \x)

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla7

People

(Reporter: Waldo, Assigned: Waldo)

References

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

We currently incorrectly treat \u, \uAG, etc. as the literal characters following the \. test262 has a dozen or so (!) tests for this.
Attached patch Patch and test, and test fixes (deleted) — Splinter Review
Attachment #538422 - Flags: review?(nnethercote)
Comment on attachment 538422 [details] [diff] [review] Patch and test, and test fixes Review of attachment 538422 [details] [diff] [review]: -----------------------------------------------------------------
Attachment #538422 - Flags: review?(nnethercote) → review+
Whiteboard: fixed-in-tracemonkey
Target Milestone: --- → mozilla7
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Depends on: 690267
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: