[Webkit-unassigned] [Bug 159511] Web Inspector, regression: JS/JSON pretty-printing sporadically broken in STP8
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 7 12:58:48 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159511
--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org> ---
The "application/json" content looks like:
{"e":"...","c":-1,...}/*""*/
Pretty Printing fails because:
â¢Â It is an invalid JavaScript program. (Esprima Parse error)
â¢Â JSON.parse fails. (The comment at the end makes it invalid)
I suppose instead of JSON.parse we could try '(' + str + ')' and chopping off some pieces. That is rather unfortunate.
--
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/20160707/dc22c466/attachment.html>
More information about the webkit-unassigned
mailing list