tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 992c24e4cf666613a8853213d2a36dcf1feaf35d
parent 5910c78f6181b12315ae4a359a5afc7b071171c7
Author: Tom Ritter <tom@mozilla.com>
Date:   Fri,  3 Oct 2025 16:03:18 +0000

Bug 1980264: Test Infra Fixes r=timhuang

These weren't breaking things before, but they were incorrect and now they broke things.

Differential Revision: https://phabricator.services.mozilla.com/D267101

Diffstat:
Mbrowser/components/resistfingerprinting/test/browser/head.js | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/browser/components/resistfingerprinting/test/browser/head.js b/browser/components/resistfingerprinting/test/browser/head.js @@ -843,7 +843,7 @@ async function simpleFPPTest( extraData = {}; } extraData.testDesc = extraData.testDesc || "simple FPP enabled"; - expectedResults.shouldRFPApply = true; + expectedResults.shouldRFPApply = false; await SpecialPowers.pushPrefEnv({ set: [ ["privacy.fingerprintingProtection", true], @@ -871,7 +871,7 @@ async function simplePBMFPPTest( } extraData.private_window = true; extraData.testDesc = extraData.testDesc || "simple FPP in PBM enabled"; - expectedResults.shouldRFPApply = true; + expectedResults.shouldRFPApply = false; await SpecialPowers.pushPrefEnv({ set: [ ["privacy.fingerprintingProtection.pbmode", true], @@ -907,10 +907,7 @@ async function RFPPBMFPP_NormalMode_NoProtectionsTest( ["privacy.resistFingerprinting", false], ["privacy.resistFingerprinting.pbmode", true], ["privacy.fingerprintingProtection", true], - [ - "privacy.fingerprintingProtection.overrides", - "-NavigatorHWConcurrency,-NavigatorHWConcurrencyTiered,-CanvasRandomization", - ], + ["privacy.fingerprintingProtection.overrides", "-AllTargets"], ].concat(extraPrefs || []), });