Bug 43263

Summary: Web Inspector: Doesn't log http error status codes (codes >= 400) of main resource
Product: WebKit Reporter: Matt Menke <mmenke>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Minor CC: ap, burg, bweinstein, joepeck, keishi, pfeldman, pmuellr, rik, yurys
Priority: P5    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Python http error code server none

Matt Menke
Reported 2010-07-30 10:58:21 PDT
Created attachment 63085 [details] Python http error code server More accurately, InspectorController logs them on didReceiveResponse, but then clears the log on the following didCommitLoad event. Not exactly an earthshaking bug, but can be handy to have the error code logged. Have only checked this issue on Chromium using, I believe, webkit svn 63842, but the code causing the problem appears to be unchanged. Here's a simple Python http sever to test the issue. Go to http://localhost:8000/ to get a page which returns an http error of 500 along with an html document that references 2 images that also return http error codes. Only the error codes of the two images end up in the log once the page is loaded.
Attachments
Python http error code server (637 bytes, text/plain)
2010-07-30 10:58 PDT, Matt Menke
no flags
Note You need to log in before you can comment on or make changes to this bug.