Migrate (copy) user interaction flags from the permission manager to BTP interaction store
Categories
(Core :: Privacy: Anti-Tracking, task, P1)
Tracking
()
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.
Assignee | ||
Comment 1•5 months ago
|
||
Assignee | ||
Comment 2•5 months ago
|
||
Comment 4•5 months ago
|
||
Backed out for causing xpcshell failures on test_bouncetracking_importUserActivationPermissions.js
Assignee | ||
Comment 5•5 months ago
|
||
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.
Comment 7•5 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fb1dff3416a0
https://hg.mozilla.org/mozilla-central/rev/26390589f165
Description
•