Closed Bug 1893434 Opened 5 months ago Closed 5 months ago

Migrate (copy) user interaction flags from the permission manager to BTP interaction store

Categories

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

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: pbz, Assigned: pbz)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Enabling BTP on existing profiles may lead to false positives since the user interaction store has not been warmed up yet.
We could warm up via keeping the mechanism in dry-run mode for a while. That doesn’t work for profiles that do version jumps though, including ESR.
A better solution is importing the existing user activation permissions to BTP user interaction store.
We should do this in the BTP code based on a “hasMigrated” pref since the migration needs to run on Android as well. The migration should only run once when the feature is first enabled.

Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f2662a25f169 Import user activation signals from permission manager into BTP user activation store. r=manuel,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/f85c87baf5db Test, r=manuel,anti-tracking-reviewers

Backed out for causing xpcshell failures on test_bouncetracking_importUserActivationPermissions.js

Backout link

Push with failures

Failure log

Flags: needinfo?(pbz)

The MOZ_ASSERT was a bit too strict as the clock advances further before the permission manager fetches the permissions. Removed that part of the check.

Flags: needinfo?(pbz)
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb1dff3416a0 Import user activation signals from permission manager into BTP user activation store. r=bvandersloot,manuel,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/26390589f165 Test, r=manuel,anti-tracking-reviewers
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: