Bug 103528 - 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: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Minor
Assignee: Vivek Galatage
URL: http://google.com/
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-28 08:10 PST by Nate Abele
Modified: 2014-12-12 13:42 PST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.