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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Nordman
Looks related to https://bugs.webkit.org/show_bug.cgi?id=32307
Alexey Proskuryakov
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
Anders fixed this in <http://trac.webkit.org/changeset/86397>.