Bug 1773087 - Clean up unused browser.protections_panel.enabled pref. r=pbz

Differential Revision: https://phabricator.services.mozilla.com/D176929
This commit is contained in:
anwar 2023-06-09 08:37:57 +00:00
parent 7b5502f163
commit 2d4137d28a
2 changed files with 2 additions and 15 deletions

View File

@ -2067,11 +2067,8 @@ pref("browser.contentblocking.cfr-milestone.milestone-achieved", 0);
// Milestones should always be in increasing order
pref("browser.contentblocking.cfr-milestone.milestones", "[1000, 5000, 10000, 25000, 50000, 100000, 250000, 314159, 500000, 750000, 1000000, 1250000, 1500000, 1750000, 2000000, 2250000, 2500000, 8675309]");
// Enables the new Protections Panel.
#ifdef NIGHTLY_BUILD
pref("browser.protections_panel.enabled", true);
pref("browser.protections_panel.infoMessage.seen", false);
#endif
// Controls the initial state of the protections panel collapsible info message.
pref("browser.protections_panel.infoMessage.seen", false);
// Always enable newtab segregation using containers
pref("privacy.usercontext.about_newtab_segregation.enabled", true);

View File

@ -328,16 +328,6 @@ var gIdentityHandler = {
);
return this._insecureConnectionTextPBModeEnabled;
},
get _protectionsPanelEnabled() {
delete this._protectionsPanelEnabled;
XPCOMUtils.defineLazyPreferenceGetter(
this,
"_protectionsPanelEnabled",
"browser.protections_panel.enabled",
false
);
return this._protectionsPanelEnabled;
},
get _httpsOnlyModeEnabled() {
delete this._httpsOnlyModeEnabled;
XPCOMUtils.defineLazyPreferenceGetter(