privacycg / nav-tracking-mitigations

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

Fix general storage access navigable, add worker logic #58

Closed amaliev closed 1 year ago

amaliev commented 1 year 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