Closed Bug 1577298 Opened 5 years ago Closed 5 years ago

Failure to partition third-party cookies set from inside the main document

Categories

(Core :: Privacy: Anti-Tracking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(1 file)

When we go to a page which has a third-party subresource inside the main frame which sets a third-party cookie, we fail to partition its cookies correctly.

This happens because the OriginAttributes computed here do not include the first party domain field, since we bail out early here as the top-level principal was computed as null.

Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d496a070135c
Do not stop at the current document when computing the top-level principal for storage partitioning; r=baku
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Depends on: 1618557
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: