Bug 171587 - Web Inspector: 404 Image Load does not appear as a failure in Web Inspector
Summary: Web Inspector: 404 Image Load does not appear as a failure in Web Inspector
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-05-02 18:09 PDT by Joseph Pecoraro
Modified: 2017-05-03 13:36 PDT (History)
5 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (14.15 KB, patch)
2017-05-02 18:14 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2017-05-02 18:09:10 PDT
404 Image Load does not appear as a failure in Web Inspector

Test:
<img src="DOES-NOT-EXIST.png">

Steps to Reproduce:
1. Inspect tests page
  => Expected "DOES-NOT-EXIST.png" to be red in the Resources tab sidebar
2. Show Network Tab and Reload
  => Expected "DOES-NOT-EXIST.png to be red in the Network tab sidebar
3. Select the resource to show contents
  => Expected error message

Notes:
• WebCore attempts to decode data from a 404 response, in this case it is the HTML 404 Not Found response which produces a decode error.
Comment 1 Joseph Pecoraro 2017-05-02 18:09:18 PDT
<rdar://problem/13222846>
Comment 2 Joseph Pecoraro 2017-05-02 18:14:45 PDT
Created attachment 308874 [details]
[PATCH] Proposed Fix
Comment 3 Matt Baker 2017-05-03 13:07:19 PDT
Comment on attachment 308874 [details]
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=308874&action=review

r=me

> Source/WebCore/ChangeLog:13
> +        Inline the function to make this less confusing.

This is much clearer now, nice change.
Comment 4 WebKit Commit Bot 2017-05-03 13:36:31 PDT
Comment on attachment 308874 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 308874

Committed r216138: <http://trac.webkit.org/changeset/216138>
Comment 5 WebKit Commit Bot 2017-05-03 13:36:33 PDT
All reviewed patches have been landed.  Closing bug.