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/ | ||
Nate Abele
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Vivek Galatage
Patch to follow.
Brian Burg
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.