Closed
Bug 1167296
Opened 10 years ago
Closed 10 years ago
recover if ServiceWorker script is missing from registration Cache
Categories
(Core :: DOM: Service Workers, defect)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: bkelly, Assigned: baku)
References
Details
Attachments
(3 files)
17.19 KB,
patch
|
nsm
:
review+
|
Details | Diff | Splinter Review |
17.67 KB,
patch
|
nsm
:
review+
|
Details | Diff | Splinter Review |
984 bytes,
patch
|
nsm
:
review+
|
Details | Diff | Splinter Review |
It seems we don't handle the case well where there is a sw registration, but the sw script is missing.
For example:
1) go to a sw enabled page
2) reload
3) purge origin storage by clicking lock icon->More Information->Permissions->Clear Storage
4) open page in new tab
I would expect the page to load from the network in this case.
Instead it just sits on the about:newtab page forever.
Reporter | ||
Comment 1•10 years ago
|
||
I'm marking this v1 because storage can be wiped by user action or automatically by our storage algorithms. While a somewhat rare event, this seems like a bad UX to leave the user with.
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8624692 -
Flags: review?(nsm.nikhil)
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8624698 -
Flags: review?(nsm.nikhil)
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8624700 -
Flags: review?(nsm.nikhil)
Attachment #8624692 -
Flags: review?(nsm.nikhil) → review+
Attachment #8624698 -
Flags: review?(nsm.nikhil) → review+
Attachment #8624700 -
Flags: review?(nsm.nikhil) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b00b2c78aa4a
https://hg.mozilla.org/mozilla-central/rev/e47c1128e79b
https://hg.mozilla.org/mozilla-central/rev/6f19ae2a4c8a
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•