tor-browser

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

commit 10ef6a8971cf1644b399e02a112ee60ab514801e
parent f31c5d7aa74d144e6a6aba9844b592505e1074d0
Author: Tom Ritter <tom@mozilla.com>
Date:   Mon,  6 Oct 2025 02:09:45 +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+++------
Mimage/test/unit/test_encoder_png.js | 3++-
2 files changed, 5 insertions(+), 7 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 || []), }); diff --git a/image/test/unit/test_encoder_png.js b/image/test/unit/test_encoder_png.js @@ -144,7 +144,8 @@ function encodeImage(input) { frame.height, frame.stride, frame.format, - options + options, + null ); return encoder; }