Closed Bug 1976075 Opened 1 year ago Closed 1 year ago

Fix baseline & convenience prefs being set to default values on startup

Categories

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

defect

Tracking

()

VERIFIED FIXED
142 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox140 --- unaffected
firefox141 --- unaffected
firefox142 --- verified

People

(Reporter: leoliu, Assigned: leoliu)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Initially, when an ETP-strict user upgrades privacy.trackingprotection.allow_list.hasMigratedCategoryPrefs is used to ensure baseline and convenience exceptions are false by default. However, setPrefsToCategory in ContentBlockingPrefs runs on every startup, causing it to overwrite the prefs to their default values. We should do a check to make sure baseline and convenience are only updated when user switches ETP modes or interacting with the checkboxes, not on startup.

This affects Nightly only, but we need to fix it before beta.

Severity: -- → S2
Keywords: regression
Priority: -- → P1
Regressed by: 1970647
Assignee: nobody → leliu
Status: NEW → ASSIGNED
Attachment #9499040 - Attachment description: WIP: Bug 1976075 - Fix baseline & convenience prefs being set to default values when ETP user migrates. r?#anti-tracking! → Bug 1976075 - Fix baseline & convenience prefs being set to default values when ETP user migrates. r?#anti-tracking!

Set release status flags based on info from the regressing bug 1970647

See Also: → 1976208
Duplicate of this bug: 1976208
Pushed by ezuehlcke@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/570a8d62ae6f https://hg.mozilla.org/integration/autoland/rev/5e2a2fcbba52 Fix baseline & convenience prefs being set to default values when ETP user migrates. r=anti-tracking-reviewers,emz
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch

We verified the fix using a treeherder build on macOS 13, Windows 11 and Ubuntu 22. We can't reproduce the issue anymore neither for restart or reopen.

Status: RESOLVED → VERIFIED
Summary: Fix baseline & convenience prefs being set to default values when ETP user migrates. → Fix baseline & convenience prefs being set to default values on startup
Duplicate of this bug: 1977887
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: