tor-browser

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

commit f9ca88edb1601f1254b41cf305829aa32d939e8a
parent b92a320b12738c91fb97028e0aaf0bf2c17dae89
Author: Magnus Melin <mkmelin+mozilla@iki.fi>
Date:   Wed,  1 Oct 2025 13:15:16 +0000

Bug 1991866 - Fix [c-c perma] toolkit/components/telemetry/tests/unit/test_TOUNotificationFlow.js | test_canUpload_allowed_when_both_bypass_prefs_true. r=mviar,toolkit-telemetry-reviewers

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

Diffstat:
Mtoolkit/components/telemetry/app/TelemetryReportingPolicy.sys.mjs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolkit/components/telemetry/app/TelemetryReportingPolicy.sys.mjs b/toolkit/components/telemetry/app/TelemetryReportingPolicy.sys.mjs @@ -780,7 +780,7 @@ var TelemetryReportingPolicyImpl = { // set. const bypassTOUFlow = Services.prefs.getBoolPref(TOU_BYPASS_NOTIFICATION_PREF, false) || - !this._nimbusVariables.enabled; + this._nimbusVariables.enabled === false; const allowInteractionData = Services.prefs.getBoolPref( "datareporting.healthreport.uploadEnabled", false