[webkit-reviews] review requested: [Bug 166862] Web Inspector: Inspecting a Main Resource that is JS/JSON does not format / syntax highlight it properly : [Attachment 305614] [PATCH] Proposed Fix

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 28 11:24:11 PDT 2017


Joseph Pecoraro <joepeck at webkit.org> has asked	for review:
Bug 166862: Web Inspector: Inspecting a Main Resource that is JS/JSON does not
format / syntax highlight it properly
https://bugs.webkit.org/show_bug.cgi?id=166862

Attachment 305614: [PATCH] Proposed Fix

https://bugs.webkit.org/attachment.cgi?id=305614&action=review




--- Comment #14 from Joseph Pecoraro <joepeck at webkit.org> ---
Created attachment 305614

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

[PATCH] Proposed Fix

This gets rid of the flakiness by making a few minor changes:

1. Not using a Strict DOCTYPE to remove a flakey console warning message
2. Forcing application/json mime type for a JSON resource (data.json =>
json.php)


More information about the webkit-reviews mailing list