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
Patch to follow.
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.