Bug 172742 - Web Inspector: Image data renders as binary string in Network preview when loaded via XHR
Summary: Web Inspector: Image data renders as binary string in Network preview when lo...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-30 19:48 PDT by Nate Abele
Modified: 2017-05-30 19:48 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Abele 2017-05-30 19:48:23 PDT
This is a re-post of https://bugs.webkit.org/show_bug.cgi?id=103528, which was opened against the old inspector. The issue persists in the new inspector. The reproduce instructions are nearly identical:

Steps to reproduce:
1) Load up google.com
2) Open the console and run the following:

xhr = new XMLHttpRequest();
xhr.open("GET", "/images/srpr/logo3w.png", true);
xhr.setRequestHeader("Accept", "image/png");
xhr.send();

3) Find the request in the Network tab
4) Click the arrow next to the file name to open the resource view
5) Observe raw binary output

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