Closed Bug 581067 Opened 13 years ago Closed 13 years ago

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

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b3

People

(Reporter: Waldo, Assigned: Waldo)

References

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

      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: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.