U+FEFF should be a WhiteSpace character (change in ES5 from ES3)

RESOLVED FIXED in mozilla2.0b3

Status

()

defect
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: Waldo, Assigned: Waldo)

Tracking

Trunk
mozilla2.0b3
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 attachment)

No description provided.
Attachment #459480 - Flags: review?(cdleary)
Comment on attachment 459480 [details] [diff] [review]
Patch and slight test

+    return w == 0xFEFF || (JS_CCODE(w) & 0x00070000) == 0x00040000;

r=me with a factored out const jschar BOM value.
Attachment #459480 - Flags: review?(cdleary) → review+
http://hg.mozilla.org/tracemonkey/rev/5d2a81e2205b
Whiteboard: fixed-in-tracemonkey
http://hg.mozilla.org/mozilla-central/rev/5d2a81e2205b
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.