Closed
Bug 2031836
Opened 5 months ago
Closed 2 days ago
Rename preferences related to a separate search engine in default private browsing mode
Categories
(Firefox :: Search, task, P3)
Firefox
Search
Tracking
()
RESOLVED
FIXED
158 Branch
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: standard8, Assigned: cachan)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng][private-search])
Attachments
(1 file)
The naming of the preferences for the separate private default are not ideal, and do not reflect what we typically do today. Therefore we think we should rename the prefs as follows:
browser.search.separatePrivateDefault->browser.search.separatePrivateDefault.enabled- This is the preference behind the "Use a different default search engine in private windows" checkbox in preferences.
- This should now default to false.
browser.search.separatePrivateDefault.ui.enabled->browser.search.separatePrivateDefault.featureGate- This is the preference that enables the feature in the UI.
We should also migrate the existing values for the preferences, to save disturbing users who have manually enabled it:
browser.search.separatePrivateDefault.featureGateshould be migrated directly from the original preference.browser.search.separatePrivateDefault.enabledshould be set totrueonly if:browser.search.separatePrivateDefault.ui.enabledwas set totrue, andbrowser.search.separatePrivateDefaultdoes not have a user value offalse.- The previous default for
browser.search.separatePrivateDefaultwas true, so it will only have a user set value if the user turned it off. As we'll be removing the default value from all.js (because of removing the preference), we should check the user-value status. If it was not set to a user value, then it must have been true, hence we should maintain that true value if the UI was enabled.
- The previous default for
Additionally we should also remove any user-set values for the previous preferences when migrating.
Updated•5 months ago
|
| Reporter | ||
Updated•4 months ago
|
Priority: P5 → P3
Updated•12 days ago
|
Attachment #9631240 -
Attachment description: Bug 2031836 - rename preferences related to a separate search engine in default private browsing. r=standard8 → Bug 2031836 - rename preferences related to a separate search engine in default private browsing and make the renamed enabled pref's default consistent with its default gated behavior. r=standard8
Updated•8 days ago
|
Attachment #9631240 -
Attachment description: Bug 2031836 - rename preferences related to a separate search engine in default private browsing and make the renamed enabled pref's default consistent with its default gated behavior. r=standard8 → Bug 2031836 - rename preferences related to a separate search engine in default private browsing. r=standard8
Updated•2 days ago
|
Attachment #9631240 -
Attachment description: Bug 2031836 - rename preferences related to a separate search engine in default private browsing. r=standard8 → Bug 2031836 - Rename separate private default search engine preferences and don't turn on the split by default. r=standard8
Pushed by cachan@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/c3965fa0d595
https://hg.mozilla.org/integration/autoland/rev/903c4b53ff3c
Rename separate private default search engine preferences and don't turn on the split by default. r=Standard8,firefox-desktop-core-reviewers ,urlbar-reviewers,akulyk,hsohaney,chutten
Status: NEW → RESOLVED
Closed: 2 days ago
status-firefox158:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•