Closed Bug 1626724 Opened 5 years ago Closed 4 years ago

Figure out how dFPI works with clear-site-data

Categories

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

task

Tracking

()

RESOLVED FIXED

People

(Reporter: johannh, Unassigned)

References

(Blocks 2 open bugs, )

Details

We need to ensure that dFPI works fine with the clear-site-data header .

Two things we identified so far:

  • [baku] We need to clean up partitioned storages when the storage permission is granted.
  • [johannh] Should a first party be able to clear its partitioned third parties? It might sense to raise that against the spec.
Priority: -- → P2
  1. Cleaning up partitioned storage is bug 1628313 now.
  2. If you deleted partitioned third-parties that would give active third-parties a bit of information. I think it should only affect the caches/storage that are in "scope".
Severity: normal → N/A

Per https://github.com/privacycg/storage-partitioning/issues/11#issuecomment-696122025 "cookies" and "storage" should use the StoragePrincipal and we should strongly consider removing "cache". Will file a separate bug on that.

See Also: → 1671182
Blocks: 1671190

Looks like we don't use the storage principal currently. Instead we clear the storage for the (triggering?) principal derived from the channel: https://searchfox.org/mozilla-central/rev/a0ccd492719b1ad2106f6456549be62a76f45acb/toolkit/components/clearsitedata/ClearSiteData.cpp#161,212
Some quick tests with setting and clearing cookies via the header confirmed this.

See Also: → 1685355

We discussed closing this bug on the basis that this was only about figuring out what to do which per comment 2 we have. I would be okay with keeping this open until we actually implement that though.

I think we can close this now, follow-ups are bug 1688665 and bug 1671182 which we will prioritize soon as part of our dFPI work.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.