Open Bug 1842047 Opened 2 years ago Updated 2 years ago

When exempting active sites from bounce tracker purging, also take into account unloaded tabs

Categories

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

task

Tracking

()

People

(Reporter: emz, Unassigned)

References

(Blocks 1 open bug)

Details

The bounce tracking timer algorithm skips clearing trackers that are currently open in tabs, see https://privacycg.github.io/nav-tracking-mitigations/#bounce-tracking-timer step 2.3:

If there is a top-level traversable whose active document's origin's site's host equals host, then continue.

For the current implementation we're planning to look at all top level BCs, but that doesn't account for unloaded tabs that don't have a BC.

Taking unloaded tabs into account likely requires integration with Firefox Desktop and GeckoView. We could add a service Gecko can query so browser code can give it a list of tabs / sites that are active.

You need to log in before you can comment on or make changes to this bug.