Closed
Bug 1720410
Opened 4 years ago
Closed 4 years ago
Mitigation: Remove ServiceWorker registrations after multiple navigation faults, potentially clearing origin/group storage
Categories
(Core :: DOM: Service Workers, task, P2)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
92 Branch
People
(Reporter: asuth, Assigned: edenchuang)
References
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
As a continuation of mitigations planned in Bug 1503072 as discussed in Bug 1503072 comment 20, we want to:
- Automatically remove ServiceWorker registrations after multiple faults.
- Consider clearing the origin/group QuotaManager storage.
For this bug we may just want to only deal with the registration removal and spin off the 2nd item to an additional follow-up. I'm group them together now for simplicity.
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → echuang
Assignee | ||
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P2
Assignee | ||
Comment 1•4 years ago
|
||
Pushed by bugmail@asutherland.org:
https://hg.mozilla.org/integration/autoland/rev/cacb5906a46c
Unregister SW when reach navigation fault threshold. r=dom-worker-reviewers,asuth
![]() |
||
Comment 3•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox92:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
Assignee | ||
Comment 4•4 years ago
|
||
Comment on attachment 9231147 [details]
Bug 1720410 - Unregister SW when reach navigation fault threshold. r=#dom-workers
Beta/Release Uplift Approval Request
- User impact if declined: Users will suffer from bad loading performance caused by a broken service worker. Every navigation under the controlled scope would get intercepted and then reset to normal network fetching caused by the broken service worker.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It is a low risk since it just unregisters the broken service worker directly when it meets the navigation fault threshold. By unregistering the broken service worker, it has a chance to re-install a fixed service worker.
- String changes made/needed: No
Attachment #9231147 -
Flags: approval-mozilla-beta?
Comment 5•4 years ago
|
||
Comment on attachment 9231147 [details]
Bug 1720410 - Unregister SW when reach navigation fault threshold. r=#dom-workers
Approved for 91 beta 9, thanks.
Attachment #9231147 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 6•4 years ago
|
||
bugherder uplift |
status-firefox91:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•