remove cookie permission preload after service worker code checks storage access in parent process.
Categories
(Core :: DOM: Service Workers, enhancement, P3)
Tracking
()
People
(Reporter: bkelly, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: SW-CLEANUP)
| Reporter | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•6 years ago
|
Comment 2•5 years ago
|
||
With the blocking bug resolved, can we remove this code again? https://searchfox.org/mozilla-central/rev/ba4fab1cc2f1c9c4e07cdb71542b8d441707c577/extensions/permissions/nsPermissionManager.cpp#120-125
Comment 3•5 years ago
|
||
Not until parent-intercept has stuck. It's only on beta right now and there's some concerns over the performance regressions. Bug 1496997 is where we'll declare victory and start ripping things out.
Comment 4•4 years ago
|
||
We might want to look into removing this code again now, as I believe parent process interception is always on nowadays.
Comment 5•4 years ago
|
||
(In reply to Johann Hofmann [:johannh] from comment #2)
With the blocking bug resolved, can we remove this code again? https://searchfox.org/mozilla-central/rev/ba4fab1cc2f1c9c4e07cdb71542b8d441707c577/extensions/permissions/nsPermissionManager.cpp#120-125
This can be removed now if you want to remove it. Other work to this end is happening in bug 1496997.
Comment 6•4 years ago
|
||
Unfortunately we're probably using the preload for other things these days, but I lost track of some of the details. Paul is looking into it.
Comment 7•4 years ago
|
||
Preloading of cookie permissions is still a dependency of "cookie" permission OriginAttributes stripping. See comment here: https://searchfox.org/mozilla-central/rev/763b888847ac7291248b62ef3ab99da6ba2332d6/extensions/permissions/PermissionManager.cpp#144-145,148-151
Ideally we wouldn't need to do stripping at all, because we had UI that allowed users to adjust these permissions on a per private browsing / user context level.
Looks like we'll have to keep the preloading for now.
Updated•3 years ago
|
Description
•