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)

task

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox91 --- fixed
firefox92 --- fixed

People

(Reporter: asuth, Assigned: edenchuang)

References

Details

Attachments

(1 file)

As a continuation of mitigations planned in Bug 1503072 as discussed in Bug 1503072 comment 20, we want to:

  1. Automatically remove ServiceWorker registrations after multiple faults.
  2. 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: nobody → echuang
Severity: -- → S3
Priority: -- → P2
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
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch

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 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+
Blocks: 1722502
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: