[webkit-reviews] review requested: [Bug 27503] Inspector: Should Syntax Highlight JSON : [Attachment 33179] patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 21 09:05:52 PDT 2009


Joseph Pecoraro <joepeck02 at gmail.com> has asked  for review:
Bug 27503: Inspector: Should Syntax Highlight JSON
https://bugs.webkit.org/show_bug.cgi?id=27503

Attachment 33179: patch
https://bugs.webkit.org/attachment.cgi?id=33179&action=review

------- Additional Comments from Joseph Pecoraro <joepeck02 at gmail.com>
Most JSON is from an XHR and thus its resource.type is
"WebInspector.Resource.Type.XHR".  This patch therefore tries to also highlight
resources that have a mime type of 'application/json' and even further if the
resource ends in the common extension names ".js" or ".json".


More information about the webkit-reviews mailing list