Closed Bug 1842067 Opened 2 years ago Closed 1 year ago

Clear bounce tracker state by site host + OA

Categories

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

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: emz, Assigned: emz)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

In the current WIP implementation we're clearing data via nsIClearDataService::DeleteDataFromBaseDomain which clears both unpartitioned first party storage and third-party partitioned storage across all OriginAttributes.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1894044#c3 for details.

We need to clear by site host + OriginAttributes because we need to:

  1. Clear site wide, because cookies are not always origin bound
  2. Clear exact OriginAttributes so that behavior in one context (e.g. a container tab) doesn't bleed over into another. Same for private browsing and normal browsing.
Summary: Consider only clearing unpartitioned (1p) bounce tracker state → Clear bounce tracker state by site host + OA
Blocks: 1894044
Priority: P3 → P2

https://github.com/privacycg/nav-tracking-mitigations/pull/78 changes the spec so that we clear unpartitioned cookies and partitioned cookies, but only where the top site matches the bounce host.

Assignee: nobody → pbz
Status: NEW → ASSIGNED
Depends on: 1915419
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/69105a173126 Filter by OriginAttributesPattern when purging bounce tracker site data. r=bvandersloot https://hg.mozilla.org/integration/autoland/rev/1f17cc6112f7 Move BTP purging call into separate method. r=anti-tracking-reviewers,bvandersloot
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: