mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1509411 - Remove the browser.contentblocking.(trackingprotection|rejecttrackers).ui.enabled prefs r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12819 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
fb6793b22d
commit
ce5de11037
@ -1539,9 +1539,7 @@ pref("dom.storage_access.enabled", true);
|
||||
#endif
|
||||
|
||||
// Define a set of default features for the Content Blocking UI.
|
||||
pref("browser.contentblocking.trackingprotection.ui.enabled", true);
|
||||
pref("browser.contentblocking.trackingprotection.control-center.ui.enabled", true);
|
||||
pref("browser.contentblocking.rejecttrackers.ui.enabled", true);
|
||||
pref("browser.contentblocking.rejecttrackers.control-center.ui.enabled", true);
|
||||
|
||||
// Enable the Report Breakage UI on Nightly and Beta but not on Release yet.
|
||||
|
@ -1,7 +1,5 @@
|
||||
/* eslint-env webextensions */
|
||||
|
||||
const CB_TP_UI_PREF = "browser.contentblocking.trackingprotection.ui.enabled";
|
||||
const CB_RT_UI_PREF = "browser.contentblocking.rejecttrackers.ui.enabled";
|
||||
const TP_PREF = "privacy.trackingprotection.enabled";
|
||||
const TP_PBM_PREF = "privacy.trackingprotection.pbmode.enabled";
|
||||
const TP_LIST_PREF = "urlclassifier.trackingTable";
|
||||
@ -255,8 +253,6 @@ function checkControlState(doc, controls, enabled) {
|
||||
// Checks that the menulists for tracking protection and cookie blocking are disabled when all TP prefs are off.
|
||||
add_task(async function testContentBlockingDependentTPControls() {
|
||||
SpecialPowers.pushPrefEnv({set: [
|
||||
[CB_TP_UI_PREF, true],
|
||||
[CB_RT_UI_PREF, true],
|
||||
[TP_PREF, false],
|
||||
[TP_PBM_PREF, false],
|
||||
[NCB_PREF, Ci.nsICookieService.BEHAVIOR_ACCEPT],
|
||||
|
@ -51,10 +51,6 @@ add_task(async function test_form_autofill_section() {
|
||||
});
|
||||
|
||||
add_task(async function test_change_cookie_settings() {
|
||||
await SpecialPowers.pushPrefEnv({set: [
|
||||
["browser.contentblocking.trackingprotection.ui.enabled", true],
|
||||
["browser.contentblocking.rejecttrackers.ui.enabled", true],
|
||||
]});
|
||||
let prefs = await openPreferencesViaOpenPreferencesAPI("privacy-trackingprotection", {leaveOpen: true});
|
||||
is(prefs.selectedPane, "panePrivacy", "Privacy pane is selected by default");
|
||||
let doc = gBrowser.contentDocument;
|
||||
|
Loading…
Reference in New Issue
Block a user