commit f90004e7e99429afdf64efe559e506547771cce7
parent a74593da49c28d861cb6180d3780204467f91623
Author: Cristian Tuns <ctuns@mozilla.com>
Date: Tue, 18 Nov 2025 20:51:47 -0500
Revert "Bug 2000728 — add pref to show/hide ipp exceptions in about:preferences. r=ip-protection-reviewers,mconley,fchasen" for causing bc failures in browser_privacy_ipprotection.js
This reverts commit a1aad2e716e9ba326bfeab248c59f920ce8887e5.
Diffstat:
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
@@ -3517,8 +3517,6 @@ pref("browser.ipProtection.userEnabled", false);
pref("browser.ipProtection.variant", "");
// Pref to track number of times the VPN panel is opened
pref("browser.ipProtection.panelOpenCount", 0);
-// Pref to enable support for site exceptions
-pref("browser.ipProtection.features.siteExceptions", false);
pref("browser.ipProtection.exceptionsMode", "all");
pref("browser.ipProtection.domainExclusions", "");
pref("browser.ipProtection.domainInclusions", "");
diff --git a/browser/components/preferences/privacy.js b/browser/components/preferences/privacy.js
@@ -201,7 +201,6 @@ Preferences.addAll([
// Firefox VPN
{ id: "browser.ipProtection.variant", type: "string" },
- { id: "browser.ipProtection.features.siteExceptions", type: "bool" },
{ id: "browser.ipProtection.exceptionsMode", type: "string" },
{ id: "browser.ipProtection.autoStartEnabled", type: "bool" },
{ id: "browser.ipProtection.autoStartPrivateEnabled", type: "bool" },
@@ -1414,20 +1413,12 @@ Preferences.addSetting({
pref: "browser.ipProtection.variant",
get: prefVal => prefVal == "beta",
});
-Preferences.addSetting({
- id: "ipProtectionSiteExceptionsFeatureEnabled",
- pref: "browser.ipProtection.features.siteExceptions",
-});
// This setting also affects the radio group for site exceptions
Preferences.addSetting({
id: "ipProtectionExceptionsMode",
pref: "browser.ipProtection.exceptionsMode",
- deps: ["ipProtectionVisible", "ipProtectionSiteExceptionsFeatureEnabled"],
- visible: ({
- ipProtectionVisible,
- ipProtectionSiteExceptionsFeatureEnabled,
- }) =>
- ipProtectionVisible.value && ipProtectionSiteExceptionsFeatureEnabled.value,
+ deps: ["ipProtectionVisible"],
+ visible: ({ ipProtectionVisible }) => ipProtectionVisible.value,
});
Preferences.addSetting({
id: "ipProtectionExceptionAllListButton",