Closed
Bug 1454400
Opened 7 years ago
Closed 7 years ago
Session Restore doesn't activate service worker
Categories
(Core :: DOM: Service Workers, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1437080
People
(Reporter: xfalcox, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Steps to reproduce:
1. Open a Discourse site, like: https://discourse.mozilla.org
2. Close Firefox
3. Open Firefox
4. Click on "Restore Previous Session" (or have it enabled by default)
Actual results:
Offline page shows up.
The service worker fetch returns the cached offline page.
Screenshot: https://screenshots.firefox.com/yzo5jTDHkt2HKajQ/discourse.mozilla.org
Expected results:
Site should appear, either from cache or reloading the page on session restore.
Updated•7 years ago
|
Component: Untriaged → DOM: Service Workers
Product: Firefox → Core
Updated•7 years ago
|
Flags: needinfo?(bkelly)
Comment 1•7 years ago
|
||
This appears to be fixed in FF60 which ships May 9. I'm 95% sure this was corrected by bug 1437080. Session restore effectively sets "force-cache" on the network request for the document. FF59 and earlier have a bug which mistranslate this to "only-if-cached" when created FetchEvent.request.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(bkelly)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•