[Webkit-unassigned] [Bug 134920] New: JSON.parse gives incorrect result for "-0 ".

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 15 00:09:18 PDT 2014


           Summary: JSON.parse gives incorrect result for "-0 ".
           Product: WebKit
           Version: 420+
          Platform: Unspecified
        OS/Version: Mac OS X 10.7
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: lrn at google.com

JSON.parse("-0 ") should give the same result as JSON.parse("-0"), but where the latter correctly returns -0.0, the former returns positive 0.0.

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

More information about the webkit-unassigned mailing list