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( defaults.getBoolPref(
"privacy.trackingprotection.cryptomining.enabled" "privacy.trackingprotection.cryptomining.enabled"
) )
? "cm" ? "cryptoTP"
: "-cm" : "-cryptoTP"
); );
rulesArray.push( rulesArray.push(
defaults.getBoolPref( defaults.getBoolPref(
@@ -1549,11 +1549,11 @@ var gPrivacyPane = {
selector + " .fingerprinters-option" selector + " .fingerprinters-option"
).hidden = true; ).hidden = true;
break; break;
case "cm": case "cryptoTP":
document.querySelector(selector + " .cryptominers-option").hidden = document.querySelector(selector + " .cryptominers-option").hidden =
false; false;
break; break;
case "-cm": case "-cryptoTP":
document.querySelector(selector + " .cryptominers-option").hidden = document.querySelector(selector + " .cryptominers-option").hidden =
true; true;
break; break;

View File

@@ -211,7 +211,7 @@ function defaultProfilePreferences(
// Prevent various error message on the console // Prevent various error message on the console
// jest-puppeteer asserts that no error message is emitted by the console // jest-puppeteer asserts that no error message is emitted by the console
'browser.contentblocking.features.standard': 'browser.contentblocking.features.standard':
'-tp,tpPrivate,cookieBehavior0,-cm,-fp', '-tp,tpPrivate,cookieBehavior0,-cryptoTP,-fp',
// Enable the dump function: which sends messages to the system // Enable the dump function: which sends messages to the system
// console // console