about:debugging should show origin attributes for dFPI and FPI
Categories
(DevTools :: about:debugging, enhancement, P3)
Tracking
(firefox132 fixed)
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: tjr, Assigned: fkilic)
References
(Blocks 1 open bug)
Details
(Whiteboard: [dfpi-ok])
Attachments
(1 file)
reddit.com registers a Service Worker, so from a new profile, go to reddit, and see the service worker in about:serviceworkers and about:debugging. Then enable privacy.firstparty.isolate and go to reddit again. about:serviceworkers will show two; about:debugging only one.
I also noticed that if you get a Service Worker for the same domain in different Containers (User Context Ids) it's not possible to distinguish them on about:debugging.
I tried following the code to where we list SWs different in about:serviceworkers and about:debugging but was not able to find it...
Comment 1•5 years ago
|
||
The priority flag is not set for this bug.
:jdescottes, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 2•5 years ago
|
||
Feel free to bump the priority if you feel like this is a blocking issue.
I don't think the user impact is huge, but I'm open to discuss this.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Belen, should we track this for Application panel as well or is it not affected?
Comment 4•5 years ago
|
||
There's no Service Worker with First-Party Domain when dFPI is on, only 1 is shown in about:serviceworkers and about:debugging.
Comment 5•4 years ago
|
||
That reads like dFPI isn't affected, removing the meta bug.
Comment 6•2 years ago
|
||
Clear a needinfo that is pending on an inactive user.
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Assignee | ||
Comment 7•2 months ago
•
|
||
Could this issue be already fixed somehow? I'm getting two service workers. https://www.reddit.com^firstPartyDomain=reddit.com and https://www.reddit.com. Both of them appear in about:debugging and about:serviceworkers, altough about:serviceworkers show firstPartyDomain too while about:debugging doesn't. I couldn't really find out why.
It seems we fetch the service workers here https://searchfox.org/mozilla-central/rev/0386e3e47504286ee176ab373a0562262e7c98b4/devtools/client/aboutdebugging/src/actions/debug-targets.js#291-321, but I don't know what exactly we get. I can try to fix it if we get the principal in that function.
Reporter | ||
Comment 8•2 months ago
|
||
Well, the fact that it doesn't show on about:debugging is fixed, but I think we would still want a way to distinguish between the two there...
Assignee | ||
Comment 9•2 months ago
|
||
This patch aims to match URL's shown in about:serviceworkers and about:debugging page.
By switching to origin instead of URL, we can differentiate service workers registered in third party contexts and FPI.
Updated•2 months ago
|
Updated•2 months ago
|
Assignee | ||
Updated•2 months ago
|
Comment 10•2 months ago
|
||
Comment 11•2 months ago
|
||
bugherder |
Description
•