Bug 16694

Summary: Acid3 expects JSC to ignore Unicode Cf chars when parsing
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: ap, ian
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.4   

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 ***