Closed Bug 1253003 Opened 9 years ago Closed 7 years ago

Clearing "Cached Web Content" does not clear Service Workers or their caches.

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox47 --- affected

People

(Reporter: callahad, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: DevAdvocacy, privacy, Whiteboard: [DevRel:P2])

STR: 1. Visit https://www.pokedex.org/ 2. Preferences -> Advanced -> Network -> Cached Web Content -> Clear Now What should happen: - The service worker is unregistered - All cached data is cleared What actually happens: - The service worker is still visible in about:serviceworkers - All data cached by the service worker is still present To verify that cached data persisted, visit https://www.pokedex.org/manifest.json and run the following in the console: caches.match('/img/icon-48.png').then(x => console.log(`Resource ${(x && x.ok) ? "WAS" : "WAS NOT"} found in cache:`, x))
Blocks: 1253031
Component: Untriaged → Bookmarks & History
Whiteboard: [DevRel:P2]
Component: Bookmarks & History → General
I'm not sure we want to delete ServiceWorkers data here. It's not part of 'cached web content'. I mark this as INVALID.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.