Bug 16694
| Summary: | Acid3 expects JSC to ignore Unicode Cf chars when parsing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ap, ian |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
Eric Seidel (no email)
Acid3 expects JSC to ignore Unicode CF chars when parsing
We throw an exception here, instead of ignoring U+2062. I expect there are other CF codepoints which we are supposed to ignore as well.
function () {
// test 84: ES3 section 7.1 (Cf characters are ignored)
var times = "\u2062"; // U+2062 INVISIBLE TIMES
var v1 = eval("2" + times + "3");
assert(v1 == 23, "U+2062 was not ignored when parsing script");
return 6;
},
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
This is a duplicate of bug 4931 and a WONTFIX, unless there is some new data to consider.
Darin Adler
I'll mark this as duplicate. I Hixie's probably going to omit this from Acid3.
*** This bug has been marked as a duplicate of 4931 ***