Loading browser/components/resistfingerprinting/test/browser/browser_hwconcurrency_etp_iframes.js +10 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,8 @@ "use strict"; const SPOOFED_HW_CONCURRENCY = 2; const SPOOFED_HW_CONCURRENCY = SpecialPowers.Services.appinfo.OS == "Darwin" ? 8 : 4; const DEFAULT_HARDWARE_CONCURRENCY = navigator.hardwareConcurrency; Loading @@ -27,6 +28,14 @@ async function testHWConcurrency(result, expectedResults, extraData) { ); } add_setup(async function () { registerCleanupFunction(async function () { Services.prefs.clearUserPref( "privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings" ); }); }); // The following are convenience objects that allow you to quickly see what is // and is not modified from a logical set of values. // Be sure to always use `let expectedResults = structuredClone(allNotSpoofed)` to do a Loading browser/components/resistfingerprinting/test/browser/browser_hwconcurrency_iframes.js +10 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,8 @@ "use strict"; const SPOOFED_HW_CONCURRENCY = 2; const SPOOFED_HW_CONCURRENCY = SpecialPowers.Services.appinfo.OS == "Darwin" ? 8 : 4; const DEFAULT_HARDWARE_CONCURRENCY = navigator.hardwareConcurrency; Loading @@ -37,6 +38,14 @@ async function testHWConcurrency(result, expectedResults, extraData) { ); } add_setup(async function () { registerCleanupFunction(async function () { Services.prefs.clearUserPref( "privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings" ); }); }); // The following are convenience objects that allow you to quickly see what is // and is not modified from a logical set of values. // Be sure to always use `let expectedResults = structuredClone(allNotSpoofed)` to do a Loading browser/components/resistfingerprinting/test/browser/browser_hwconcurrency_iframes_aboutblank.js +10 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,8 @@ "use strict"; const SPOOFED_HW_CONCURRENCY = 2; const SPOOFED_HW_CONCURRENCY = SpecialPowers.Services.appinfo.OS == "Darwin" ? 8 : 4; const DEFAULT_HARDWARE_CONCURRENCY = navigator.hardwareConcurrency; Loading @@ -37,6 +38,14 @@ async function testHWConcurrency(result, expectedResults, extraData) { ); } add_setup(async function () { registerCleanupFunction(async function () { Services.prefs.clearUserPref( "privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings" ); }); }); // The following are convenience objects that allow you to quickly see what is // and is not modified from a logical set of values. // Be sure to always use `let expectedResults = structuredClone(allNotSpoofed)` to do a Loading browser/components/resistfingerprinting/test/browser/browser_hwconcurrency_iframes_aboutsrcdoc.js +10 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,8 @@ "use strict"; const SPOOFED_HW_CONCURRENCY = 2; const SPOOFED_HW_CONCURRENCY = SpecialPowers.Services.appinfo.OS == "Darwin" ? 8 : 4; const DEFAULT_HARDWARE_CONCURRENCY = navigator.hardwareConcurrency; Loading @@ -37,6 +38,14 @@ async function testHWConcurrency(result, expectedResults, extraData) { ); } add_setup(async function () { registerCleanupFunction(async function () { Services.prefs.clearUserPref( "privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings" ); }); }); // The following are convenience objects that allow you to quickly see what is // and is not modified from a logical set of values. // Be sure to always use `let expectedResults = structuredClone(allNotSpoofed)` to do a Loading browser/components/resistfingerprinting/test/browser/browser_hwconcurrency_iframes_blob.js +10 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,8 @@ "use strict"; const SPOOFED_HW_CONCURRENCY = 2; const SPOOFED_HW_CONCURRENCY = SpecialPowers.Services.appinfo.OS == "Darwin" ? 8 : 4; const DEFAULT_HARDWARE_CONCURRENCY = navigator.hardwareConcurrency; Loading @@ -37,6 +38,14 @@ async function testHWConcurrency(result, expectedResults, extraData) { ); } add_setup(async function () { registerCleanupFunction(async function () { Services.prefs.clearUserPref( "privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings" ); }); }); // The following are convenience objects that allow you to quickly see what is // and is not modified from a logical set of values. // Be sure to always use `let expectedResults = structuredClone(allNotSpoofed)` to do a Loading Loading
browser/components/resistfingerprinting/test/browser/browser_hwconcurrency_etp_iframes.js +10 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,8 @@ "use strict"; const SPOOFED_HW_CONCURRENCY = 2; const SPOOFED_HW_CONCURRENCY = SpecialPowers.Services.appinfo.OS == "Darwin" ? 8 : 4; const DEFAULT_HARDWARE_CONCURRENCY = navigator.hardwareConcurrency; Loading @@ -27,6 +28,14 @@ async function testHWConcurrency(result, expectedResults, extraData) { ); } add_setup(async function () { registerCleanupFunction(async function () { Services.prefs.clearUserPref( "privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings" ); }); }); // The following are convenience objects that allow you to quickly see what is // and is not modified from a logical set of values. // Be sure to always use `let expectedResults = structuredClone(allNotSpoofed)` to do a Loading
browser/components/resistfingerprinting/test/browser/browser_hwconcurrency_iframes.js +10 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,8 @@ "use strict"; const SPOOFED_HW_CONCURRENCY = 2; const SPOOFED_HW_CONCURRENCY = SpecialPowers.Services.appinfo.OS == "Darwin" ? 8 : 4; const DEFAULT_HARDWARE_CONCURRENCY = navigator.hardwareConcurrency; Loading @@ -37,6 +38,14 @@ async function testHWConcurrency(result, expectedResults, extraData) { ); } add_setup(async function () { registerCleanupFunction(async function () { Services.prefs.clearUserPref( "privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings" ); }); }); // The following are convenience objects that allow you to quickly see what is // and is not modified from a logical set of values. // Be sure to always use `let expectedResults = structuredClone(allNotSpoofed)` to do a Loading
browser/components/resistfingerprinting/test/browser/browser_hwconcurrency_iframes_aboutblank.js +10 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,8 @@ "use strict"; const SPOOFED_HW_CONCURRENCY = 2; const SPOOFED_HW_CONCURRENCY = SpecialPowers.Services.appinfo.OS == "Darwin" ? 8 : 4; const DEFAULT_HARDWARE_CONCURRENCY = navigator.hardwareConcurrency; Loading @@ -37,6 +38,14 @@ async function testHWConcurrency(result, expectedResults, extraData) { ); } add_setup(async function () { registerCleanupFunction(async function () { Services.prefs.clearUserPref( "privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings" ); }); }); // The following are convenience objects that allow you to quickly see what is // and is not modified from a logical set of values. // Be sure to always use `let expectedResults = structuredClone(allNotSpoofed)` to do a Loading
browser/components/resistfingerprinting/test/browser/browser_hwconcurrency_iframes_aboutsrcdoc.js +10 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,8 @@ "use strict"; const SPOOFED_HW_CONCURRENCY = 2; const SPOOFED_HW_CONCURRENCY = SpecialPowers.Services.appinfo.OS == "Darwin" ? 8 : 4; const DEFAULT_HARDWARE_CONCURRENCY = navigator.hardwareConcurrency; Loading @@ -37,6 +38,14 @@ async function testHWConcurrency(result, expectedResults, extraData) { ); } add_setup(async function () { registerCleanupFunction(async function () { Services.prefs.clearUserPref( "privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings" ); }); }); // The following are convenience objects that allow you to quickly see what is // and is not modified from a logical set of values. // Be sure to always use `let expectedResults = structuredClone(allNotSpoofed)` to do a Loading
browser/components/resistfingerprinting/test/browser/browser_hwconcurrency_iframes_blob.js +10 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,8 @@ "use strict"; const SPOOFED_HW_CONCURRENCY = 2; const SPOOFED_HW_CONCURRENCY = SpecialPowers.Services.appinfo.OS == "Darwin" ? 8 : 4; const DEFAULT_HARDWARE_CONCURRENCY = navigator.hardwareConcurrency; Loading @@ -37,6 +38,14 @@ async function testHWConcurrency(result, expectedResults, extraData) { ); } add_setup(async function () { registerCleanupFunction(async function () { Services.prefs.clearUserPref( "privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings" ); }); }); // The following are convenience objects that allow you to quickly see what is // and is not modified from a logical set of values. // Be sure to always use `let expectedResults = structuredClone(allNotSpoofed)` to do a Loading