Open Bug 1638098 Opened 2 years ago Updated 2 months ago

Make sure that service workers registered by extensions are not being cleared by browsingData API or by clearing all the website data

Categories

(WebExtensions :: General, task, P2)

task

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: rpl, Assigned: rpl)

References

(Blocks 1 open bug)

Details

(Whiteboard: [mv3-m3])

As a follow up to Bug 1609920:
once an extension is going to be able to register a service worker (either by declaring a background service worker in the manifest, or by registering it on their own using navigator.serviceWorker.register), we should make sure that the service worker registrations related to extensions are not cleared when:

  • an extension does use browsingData API to clear the service workers registrations related to the websites
  • a user does intend to clear the website data from about:preferences (Sanitizer.jsm, which does use ClearDataService.jsm internally)
Assignee: nobody → lgreco
Severity: -- → N/A
Status: NEW → ASSIGNED
Depends on: 1609920
Priority: -- → P2
Whiteboard: mv3:m3
Whiteboard: mv3:m3 → mv3:m3 [mv3-m3]
Whiteboard: mv3:m3 [mv3-m3] → [mv3-m3]
You need to log in before you can comment on or make changes to this bug.