Closed Bug 1843308 Opened 1 year ago Closed 2 months ago

Take into account openers in BounceTrackingState::OnStartNavigation

Categories

(Core :: Privacy: Anti-Tracking, task, P2)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: pbz, Assigned: pbz)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When a navigation is started as the result of opening a new tab or window, e.g. by link click or by window.open call we need to ensure the BounceTrackingRecord is still properly tracked across opener relationship.
See https://github.com/privacycg/nav-tracking-mitigations/issues/50 for details.

Note: This includes the case where the current navigation was initiated by another navigable, e.g. when opening a link in a new tab. In this case, sourceDocument is set to the opener Document, and the new bounce tracking record has its initial host set to the opener host. This ensures that trackers opened in new tabs are detected as distinct from the initial host in the new bounce tracking record.

Blocks: btp-nightly
Assignee: nobody → pbz
Status: NEW → ASSIGNED
Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b29ebdf1439e
Add tests for bounce tracking using popups and new tabs. r=bvandersloot,anti-tracking-reviewers
Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4c476414499a
Add tests for bounce tracking using popups and new tabs. r=bvandersloot,anti-tracking-reviewers
Flags: needinfo?(pbz)
Backout by nfay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4222b068c5cf
Backed out 15 changesets (bug 1843308, bug 1889444, bug 1888504, bug 1890546, bug 1888500, bug 1848406, bug 1890782) for causing bustage on BounceTrackingProtection.h CLOSED TREE
Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/242f8153a442
Add tests for bounce tracking using popups and new tabs. r=bvandersloot,anti-tracking-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: