[Webkit-unassigned] [Bug 158033] New: Web Inspector: JSON Parse error message should include more useful details about what caused parsing to fail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 24 11:43:33 PDT 2016


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

            Bug ID: 158033
           Summary: Web Inspector: JSON Parse error message should include
                    more useful details about what caused parsing to fail
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bburg at apple.com
                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

Currently, an SyntaxError is thrown, but the line and column properties are set to the call site of JSON.parse().
What I really want to know is the string that failed to parse, and where within string parsing failed (approximately).
If the parse error says 'invalid number', I would expect to be able to figure out where it died.
This is kind of difficult since the argument to JSON.parse is generally not a resource we already have in a text editor, so we'd need to figure out how to display that text (which could be megabytes of JSON).

-- 
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/20160524/c3cea748/attachment-0001.html>


More information about the webkit-unassigned mailing list