Closed Bug 1848406 Opened 2 years ago Closed 2 years ago

Stateful bounce detection for storage

Categories

(Core :: Privacy: Anti-Tracking, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: emz, Assigned: emz)

References

(Blocks 2 open bugs)

Details

Attachments

(7 files)

+++ This bug was initially created as a clone of Bug #1839918 +++

In order to differentiate between stateful and non stateful bounces we need to hook into the cookies and storage implementations to populate BounceTrackingRecords Storage Access Set. This bug is for storages.

Storages include QuotaManager, Service workers, etc.

Assignee: nobody → pbz
Status: NEW → ASSIGNED
Attachment #9389453 - Attachment description: Bug 1848406 - Keep track of indexedDB access in web workers. r=bvandersloot! → Bug 1848406 - Keep track of storage access in web workers. r=bvandersloot!
Blocks: 1888499

Running the patches on try I've discovered a shutdown hang: https://treeherder.mozilla.org/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cusercancel%2Cretry&revision=9b16f645907226d45ca9ac449d48f16981a830f0

Particularly the nested web worker test seems to be triggering it. :asuth suspects that it's related to Bug 1861785, which wouldn't be a bug in my implementation.

Depends on: 1861785
Blocks: 1889898
No longer depends on: 1861785
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/31016e129e99 Detect stateful bounces for window associated storages. r=bvandersloot,asuth https://hg.mozilla.org/integration/autoland/rev/940c5fd39d25 Extend stateful bounce tests. r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/d75faab0301f Enable requireStatefulBounces pref by default. r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/80365ce68377 Fix BounceTrackingState Init called more than once. r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/affbf180e519 Keep track of storage access in web workers. r=bvandersloot,asuth https://hg.mozilla.org/integration/autoland/rev/6ce0fba99d02 Split up cookies and storage bouncetracking tests. r=bvandersloot https://hg.mozilla.org/integration/autoland/rev/42ab5bd4b856 Add a stateful bounce test for nested web workers. r=asuth,bvandersloot
Regressions: 1890818
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d63358e762de Detect stateful bounces for window associated storages. r=bvandersloot,asuth https://hg.mozilla.org/integration/autoland/rev/36b8e78cc27e Extend stateful bounce tests. r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/6808ec37fa93 Enable requireStatefulBounces pref by default. r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/df982722bc0a Fix BounceTrackingState Init called more than once. r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/5ea32ea95f62 Keep track of storage access in web workers. r=bvandersloot,asuth https://hg.mozilla.org/integration/autoland/rev/6a3ec1f62811 Split up cookies and storage bouncetracking tests. r=bvandersloot https://hg.mozilla.org/integration/autoland/rev/40fdfaf3cc32 Add a stateful bounce test for nested web workers. r=asuth,bvandersloot
Flags: needinfo?(pbz)
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1f071b054a16 Detect stateful bounces for window associated storages. r=bvandersloot,asuth https://hg.mozilla.org/integration/autoland/rev/ff789ea132bd Extend stateful bounce tests. r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/462b35b30c6a Enable requireStatefulBounces pref by default. r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/450b885176ac Fix BounceTrackingState Init called more than once. r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/10b0efff98e2 Keep track of storage access in web workers. r=bvandersloot,asuth https://hg.mozilla.org/integration/autoland/rev/3fd62a8397aa Split up cookies and storage bouncetracking tests. r=bvandersloot https://hg.mozilla.org/integration/autoland/rev/106c8d046414 Add a stateful bounce test for nested web workers. r=asuth,bvandersloot
Regressions: 1892142
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: