Skip to content

Commit 76cc796

Browse files
wwwenwilliamdsmithpadilla
authored andcommitted
Bug 1977066 - Change missed "cm" strings to "cryptoTP". a=diannaS DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D257271 Differential Revision: https://phabricator.services.mozilla.com/D259361
1 parent ea9b68f commit 76cc796

File tree

2 files changed

+5
-5
lines changed
  • browser/components/preferences
  • remote/test/puppeteer/packages/browsers/src/browser-data

2 files changed

+5
-5
lines changed

browser/components/preferences/privacy.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,8 +1497,8 @@ var gPrivacyPane = {
14971497
defaults.getBoolPref(
14981498
"privacy.trackingprotection.cryptomining.enabled"
14991499
)
1500-
? "cm"
1501-
: "-cm"
1500+
? "cryptoTP"
1501+
: "-cryptoTP"
15021502
);
15031503
rulesArray.push(
15041504
defaults.getBoolPref(
@@ -1572,11 +1572,11 @@ var gPrivacyPane = {
15721572
selector + " .fingerprinters-option"
15731573
).hidden = true;
15741574
break;
1575-
case "cm":
1575+
case "cryptoTP":
15761576
document.querySelector(selector + " .cryptominers-option").hidden =
15771577
false;
15781578
break;
1579-
case "-cm":
1579+
case "-cryptoTP":
15801580
document.querySelector(selector + " .cryptominers-option").hidden =
15811581
true;
15821582
break;

remote/test/puppeteer/packages/browsers/src/browser-data/firefox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function defaultProfilePreferences(
218218
// Prevent various error message on the console
219219
// jest-puppeteer asserts that no error message is emitted by the console
220220
'browser.contentblocking.features.standard':
221-
'-tp,tpPrivate,cookieBehavior0,-cm,-fp',
221+
'-tp,tpPrivate,cookieBehavior0,-cryptoTP,-fp',
222222

223223
// Enable the dump function: which sends messages to the system
224224
// console

0 commit comments

Comments
 (0)