I haven't looked at ServiceWorkers (starting Firefox 33) closely, but I think they likely violate first party isolation. A brief look at some code in mozilla-central suggests that we may be able to use the same code to isolate SharedWorkers and ServiceWorkers by first party domain.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
ServiceWorkers are still disabled by pref in FF38.
Trac: Keywords: ff38-esr deleted, ff45-esr added Summary: ServiceWorkers (arriving FF33) violate first party isolation, probably to ServiceWorkers violate first party isolation, probably
AFAIK, service workers APIs should not be usable in private browsing mode, navigator.serviceWorker is not present in that case. So in mobile they have flipped the serviceworker pref but as long as we only have private windows it should not be usable. Should we still investigate this for browser.privatebrowsing.autostart = false?
AFAIK, service workers APIs should not be usable in private browsing mode, navigator.serviceWorker is not present in that case. So in mobile they have flipped the serviceworker pref but as long as we only have private windows it should not be usable. Should we still investigate this for browser.privatebrowsing.autostart = false?
We should disable dom.serviceWorkers.enabled on mobile. We don't support browser.privatebrowsing.autostart = false, but we know some people use Tor Browser like that, regardless of the consequences. In the longer term, we should make sure ServiceWorkers do not violate FPI when used in non-private browsing mode, but I don't think verifying this now is worth the effort.
I'll open a ticket for disabling it on Android (for the people who use non-private browsing mode).
I support closing this ticket as done, and opening another ticket specifically for non-private browsing mode, so we don't forget about this in the future.
Let's keep this ticket for now to have a single point for all the context around this feature. Disabling ServiceWorkers landed on tor-browser-68.1.0esr-9.0-2 (commit 726047a459acf9d8c26fcfdd72584f0196dd60ce) (see comment:30:ticket:31010 for more context).
Let's remove it from our ESR 68 radar, though.
Trac: Keywords: tbb-9.0-must-alpha, ff68-esr deleted, N/Aadded Status: needs_information to new