Enable partitioned service worker for third-party contexts in dFPI
Categories
(Core :: Privacy: Anti-Tracking, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: timhuang, Assigned: timhuang)
References
Details
Attachments
(4 files)
To enable partitioned Service Worker, we need to check the following functions
ClientSource::WindowExecutionReady()
ServiceWorkerContainer::GetGlobalIfValid()
ServiceWorkerInterceptController::ShouldPrepareForIntercept()
ServiceWorkerManager::IsAvailable()
Assignee | ||
Comment 1•3 years ago
|
||
This patch adds a pref to contorl unconditional partitioned service
worker in dFPI.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D131786
Assignee | ||
Comment 3•3 years ago
|
||
This patch enables partitioned service workers in third-party contexts.
Doesn't like before, we will allow service workers to be registered even
the third-party contexts don't have storage access and the registered
service workers will be partitioned by the top-level site.
You can control this by using the pref 'privacy.partition.serviceWorkers'.
Setting this to true will enable the partitioning, otherwise, it will
still use the old behavior.
Depends on D131787
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D131788
Comment 6•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bf681adbb94e
https://hg.mozilla.org/mozilla-central/rev/92ef329677c9
https://hg.mozilla.org/mozilla-central/rev/a9da62fe5889
https://hg.mozilla.org/mozilla-central/rev/adaa0619e07d
Description
•