When exempting active sites from bounce tracker purging, also take into account unloaded tabs
Categories
(Core :: Privacy: Anti-Tracking, task, P3)
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.
| Reporter | ||
Comment 1•2 years ago
|
||
Browser code could iterate over all windows and get to all tabs that way. Example: https://searchfox.org/mozilla-central/rev/ef61a8e576acebd871dbb38f363f0380503c4fb3/services/sync/modules/engines/tabs.sys.mjs#346-353
Description
•