Open Bug 1943536 Opened 1 month ago Updated 5 days ago

Disable storage access heuristics for trackers

Categories

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

task

Tracking

()

ASSIGNED

People

(Reporter: timhuang, Assigned: timhuang)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Introduce a pref to control storage access heuristics for third-party trackers.

Assignee: nobody → tihuang
Status: NEW → ASSIGNED

We used a wrong name for the pref that controls SAA AutoGrants for
third-party trackers. This patch fixes this by introducing a pref with a
properly. We will keep the pref that controls SAA heuristics for
third-party trackers.

Currently, we only allow openerWithUserInteraction heuristic for
trackering windows, which doesn't match the MDN article of SAA
heuristics.

In addition, we want to remove the opener heuristic in the future and
move to use the openerWithUserInteraction instead.

In this patch, we change the heuristic to allow it for non-tracking
windows and put it behind the pref.

Depends on D238940

We excludes third-party trackers to trigger the opener heuristic.

First, we don't allow a third-party tracking window to trigger the
heuristic. Second, we don't trigger opener heuristic if the opened URL
is a tracking URL.

Depends on D238942

The patch adds tests to ensure third-party trackers cannot trigger
opener and openerWithUserInteraction heuristics. The test for navigation
heuristic is covered by browser_storageAccessWithDynamicFpi.js

Depends on D238943

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: