Bug 16694 - Acid3 expects JSC to ignore Unicode Cf chars when parsing
Summary: Acid3 expects JSC to ignore Unicode Cf chars when parsing
Status: RESOLVED DUPLICATE of bug 4931
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-01 01:41 PST by Eric Seidel (no email)
Modified: 2008-01-01 21:57 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-01-01 01:41:56 PST
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;
    },
Comment 1 Alexey Proskuryakov 2008-01-01 03:23:00 PST
This is a duplicate of bug 4931 and a WONTFIX, unless there is some new data to consider.
Comment 2 Darin Adler 2008-01-01 21:57:50 PST
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 ***