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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: bkelly, Assigned: baku)

References

Details

Attachments

(3 files)

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.
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.
Andrea, can you take this?
Assignee: nobody → amarchesini
Attachment #8624692 - Flags: review?(nsm.nikhil)
Attachment #8624698 - Flags: review?(nsm.nikhil)
Attachment #8624700 - Flags: review?(nsm.nikhil)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: