Bug 103528

Summary: Web Inspector: Image data renders as binary string in Network preview when loaded via XHR
Product: WebKit Reporter: Nate Abele <nate.abele>
Component: Web Inspector (Deprecated)Assignee: Vivek Galatage <vivek.vg>
Status: RESOLVED INVALID    
Severity: Minor CC: apavlov, keishi, loislo, pfeldman, pmuellr, vivek.vg, vsevik, web-inspector-bugs, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://google.com/

Description Nate Abele 2012-11-28 08:10:51 PST
When requesting image resources via XHR, the preview view in the Network tab displays byte sequences in the Preview / Response tabs, rather than the typical image preview.

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) Inspect the request in the Network tab, examine output
Comment 1 Vivek Galatage 2012-12-03 03:29:59 PST
Patch to follow.
Comment 2 Brian Burg 2014-12-12 13:40:33 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.