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:
William Wen
2025-08-05 11:44:46 +00:00
committed by dsmith@mozilla.com
parent 6c1be2988e
commit 0a4544fe76
2 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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