[Webkit-unassigned] [Bug 153830] New: Web Inspector: JSON prettifier does not correctly handle negative numbers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 3 05:02:13 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=153830

            Bug ID: 153830
           Summary: Web Inspector: JSON prettifier does not correctly
                    handle negative numbers
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: graouts at webkit.org
                CC: bburg at apple.com, graouts at webkit.org,
                    joepeck at webkit.org, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 270572
  --> https://bugs.webkit.org/attachment.cgi?id=270572&action=review
Screenshot

The following JSON:

{"someNegativeNumbers":[-8,-6,-3]}

is prettified as:

{
    "someNegativeNumbers": [ - 8, - 6, - 3]
}

Note the space between the "-" and the actual number value. This prettified JSON is invalid.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160203/2502e39e/attachment.html>


More information about the webkit-unassigned mailing list