Closed Bug 1095281 Opened 6 years ago Closed 6 years ago
control-f5 refresh removes data from appcache, breaking subsequent visits
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36 Steps to reproduce: Create a simple html page with a cache manifest view it check about:cache to verify pages are cached refresh with ctrl-f5 - page displays correctly note in about:cache, the html file is still listed, but now has data size of 0 bytes refresh page with normal f5, get an "Offline mode" error See example.zip to reproduce. Extract and visit "test.html". (on a server - appcache does not apply when opening from the file system) Actual results: Page shows an error - "Firefox is currently in offline mode and can't browse the Web." Expected results: Not sure, I don't know if ctrl-f5 behavior is standardized. But certainly not this.
FF version is 33.0.3 UA: "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0"
This reproduces on beta as well.
... and Nightly! Honza, can you have a look? :-)
Component: Untriaged → Networking: Cache
Thanks for the test case! I forgot to duplicate this code in the new cache code as well.
Assignee: nobody → honzab.moz
Status: NEW → ASSIGNED
Attachment #8521528 - Flags: review?(michal.novotny)
Attachment #8521528 - Flags: review?(michal.novotny) → review+
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.