Closed
Bug 1752539
Opened 2 years ago
Closed 2 years ago
srcdoc iframes are always treated as third-party
Categories
(Core :: Privacy: Anti-Tracking, defect, P2)
Core
Privacy: Anti-Tracking
Tracking
()
RESOLVED
FIXED
98 Branch
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: bvandersloot, Assigned: bvandersloot)
References
Details
Attachments
(1 file)
Srcdoc iframes should have the origin of their container document, per HTML Spec 7.1.1. This would make them first-party when created in the top window. Found this bug when fixing mochitests for dom/base/test/
when enabling dFPI.
Updated•2 years ago
|
Severity: -- → S2
Priority: -- → P2
Assignee | ||
Comment 1•2 years ago
|
||
- Add new function to netwerk utils to check for about:srcdoc URIs, mirroring the function for about:blank.
- When performing check whether or not a Window is third-party, check if the URI is about:srcdoc when you check if the URI is about:blank.
- When computing whether a channel is third-party to the top window, if the channel's URI is about:srcdoc, use its parent context's origin.
Updated•2 years ago
|
Assignee: nobody → bvandersloot
Status: NEW → ASSIGNED
Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1425cff22011 srcdoc iframes are always treated as third-party, r=timhuang
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox98:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•