Bug 1977066 - Change missed "cm" strings to "cryptoTP". a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D257271 Differential Revision: https://phabricator.services.mozilla.com/D259824
This commit is contained in:
committed by
dsmith@mozilla.com
parent
6c1be2988e
commit
0a4544fe76
@@ -1474,8 +1474,8 @@ var gPrivacyPane = {
|
||||
defaults.getBoolPref(
|
||||
"privacy.trackingprotection.cryptomining.enabled"
|
||||
)
|
||||
? "cm"
|
||||
: "-cm"
|
||||
? "cryptoTP"
|
||||
: "-cryptoTP"
|
||||
);
|
||||
rulesArray.push(
|
||||
defaults.getBoolPref(
|
||||
@@ -1549,11 +1549,11 @@ var gPrivacyPane = {
|
||||
selector + " .fingerprinters-option"
|
||||
).hidden = true;
|
||||
break;
|
||||
case "cm":
|
||||
case "cryptoTP":
|
||||
document.querySelector(selector + " .cryptominers-option").hidden =
|
||||
false;
|
||||
break;
|
||||
case "-cm":
|
||||
case "-cryptoTP":
|
||||
document.querySelector(selector + " .cryptominers-option").hidden =
|
||||
true;
|
||||
break;
|
||||
|
||||
@@ -211,7 +211,7 @@ function defaultProfilePreferences(
|
||||
// Prevent various error message on the console
|
||||
// jest-puppeteer asserts that no error message is emitted by the console
|
||||
'browser.contentblocking.features.standard':
|
||||
'-tp,tpPrivate,cookieBehavior0,-cm,-fp',
|
||||
'-tp,tpPrivate,cookieBehavior0,-cryptoTP,-fp',
|
||||
|
||||
// Enable the dump function: which sends messages to the system
|
||||
// console
|
||||
|
||||
Reference in New Issue
Block a user