[webkit-reviews] review requested: [Bug 141389] Web Inspector: content views for resources loaded through XHR do not reflect declared mime-type : [Attachment 328403] [PATCH] Proposed Fix

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 4 16:06:05 PST 2017


Joseph Pecoraro <joepeck at webkit.org> has asked	for review:
Bug 141389: Web Inspector: content views for resources loaded through XHR do
not reflect declared mime-type
https://bugs.webkit.org/show_bug.cgi?id=141389

Attachment 328403: [PATCH] Proposed Fix

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




--- Comment #9 from Joseph Pecoraro <joepeck at webkit.org> ---
Created attachment 328403

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

[PATCH] Proposed Fix

I suspect there might be some fallout here from default XHR
application/octet-stream (which we used to treat as Text will now treat as
binary), and probably show a blank Generic View.

After some testing I'll see if we should add back a fallback to treat this as
text for XHR only (not for Other / Fetch). Ideally a binary / general fallback
view would be best.


More information about the webkit-reviews mailing list