Closed
Bug 1172562
Opened 10 years ago
Closed 10 years ago
Add a test to check that cache storage is cleaned up when uninstalling an app
Categories
(Core :: DOM: Service Workers, defect)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: ferjm, Assigned: ferjm)
References
Details
Attachments
(1 file)
11.14 KB,
patch
|
bkelly
:
review+
|
Details | Diff | Splinter Review |
Apart from unregistering the service workers (Bug 1169249) we need to clear the associated caches when uninstalling apps.
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ferjmoreno
Whiteboard: [s4]
Updated•10 years ago
|
Target Milestone: --- → NGA S3 (26Jun)
Comment 1•10 years ago
|
||
I think you want to clear the entire app origin, not just the cache. You can do this with QuotaManager.
Summary: Clear service worker cache when uninstalling its owner app → Clear QuotaManager storage when uninstalling an app
Updated•10 years ago
|
Status: NEW → ASSIGNED
![]() |
||
Updated•10 years ago
|
Whiteboard: [s4]
![]() |
||
Updated•10 years ago
|
Target Milestone: NGA S3 (26Jun) → FxOS-S1 (26Jun)
Assignee | ||
Updated•10 years ago
|
Summary: Clear QuotaManager storage when uninstalling an app → Add a test to check that cache storage is cleaned up when uninstalling an app
Assignee | ||
Comment 2•10 years ago
|
||
It seems that we get this for free by using the QuotaManager on the Cache API [1]. I only added a test for this case.
[1] https://mxr.mozilla.org/mozilla-central/source/dom/quota/QuotaManager.cpp#3044
Attachment #8627131 -
Flags: review?(bkelly)
![]() |
||
Updated•10 years ago
|
Target Milestone: FxOS-S1 (26Jun) → FxOS-S2 (10Jul)
Updated•10 years ago
|
Attachment #8627131 -
Flags: review?(bkelly) → review+
Assignee | ||
Updated•10 years ago
|
Target Milestone: FxOS-S2 (10Jul) → FxOS-S1 (26Jun)
Updated•10 years ago
|
Target Milestone: FxOS-S1 (26Jun) → FxOS-S2 (10Jul)
Updated•10 years ago
|
Target Milestone: FxOS-S2 (10Jul) → FxOS-S1 (26Jun)
![]() |
||
Comment 4•10 years ago
|
||
sorry had to back this out for test failures like https://treeherder.mozilla.org/logviewer.html#?job_id=11207175&repo=mozilla-inbound
Flags: needinfo?(ferjmoreno)
Target Milestone: FxOS-S1 (26Jun) → ---
Assignee | ||
Comment 7•10 years ago
|
||
Flags: needinfo?(ferjmoreno)
Comment 8•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•