[Webkit-unassigned] [Bug 141389] Web Inspector: content views for resources loaded through XHR do not reflect declared mime-type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 1 15:11:19 PDT 2016


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

--- Comment #6 from Johan K. Jensen <johan_jensen at apple.com> ---
It looks like the frontend could quickly get updated to use the correct mimetype, but it doesn’t look like we get the correct data from the backend.
NetworkAgent.getResponseBody (called from Resource.js) returns (a promise with) the raw image, instead of a base64 encoded blob, which is what gets shown as text.
Looks like it comes from InspectorNetworkAgent::didFinishXHRLoading and NetworkResourcesData::setResourceContent, but not quite sure how far back to track it.

-- 
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/20160801/23ec93a8/attachment.html>


More information about the webkit-unassigned mailing list