Bug 55500

Summary: ApplicationCache - the http status code is 0
Product: WebKit Reporter: Michael Nordman <michaeln>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   

Michael Nordman
Reported 2011-03-01 13:23:42 PST
Scripts that access XHR.status see 0 for responses that were loaded from storage. The status message is also not reflected properly in cached responses, the text value isn't stored at all. Responses that have yet to be loaded from storage have the correct values, but the round trip to and from disk losses the status code and message.
Attachments
Michael Nordman
Comment 1 2011-03-01 17:59:13 PST
Alexey Proskuryakov
Comment 2 2011-03-01 21:58:02 PST
Status code is saved to appcache database by cross-platform WebKit, so this should be reasonably easy to fix. INSERT INTO "CacheResources" VALUES(3,'http://www.webkit.org/demos/sticky-notes/deleteButton.png',200,'http://www.webkit.org/demos/sticky-notes/deleteButton.png','image/png',NULL,'Date:Wed, 02 Mar 2011 05:54:23 GMT
Alexey Proskuryakov
Comment 3 2011-05-12 16:51:27 PDT
Note You need to log in before you can comment on or make changes to this bug.