[Webkit-unassigned] [Bug 18989] New: sunspider regexp-dna is inaccurate on firefox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 10 15:57:04 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18989

           Summary: sunspider regexp-dna is inaccurate on firefox
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: felix.1 at canids.net


dnaInput = dnaInput.replace(k, subs[k], "g")

the 3rd arg to String.replace is a js extension in firefox/spidermonkey.  it's
not supported by safari/webkit, opera, and IE.  those browsers ignore the 'g'
flag, so they only replace the first match.   firefox is doing a lot more work
on this test than other browsers.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list