privacycg / nav-tracking-mitigations

Navigation-based Tracking Mitigations
https://privacycg.github.io/nav-tracking-mitigations/
31 stars 14 forks source link

Fix general storage access navigable, add worker logic #58

Closed amaliev closed 11 months ago

amaliev commented 12 months ago

Fix incorrect reference of navigable from context of general storage access.

This handles both the Window case (storage access from main thread) and the WorkerGlobalScope case (which could be on a dedicated worker thread or a shared worker used by multiple documents). In the latter case we attribute the storage access to all of the open documents using the shared worker.

Closes #57

@wanderview


Preview | Diff