commit bc2eb7a2259306c3f15a8eba052e104c1dd2da1e
parent 49ad4096e523851c3f84ce4647c6ef07a7d17dc8
Author: Cristina Horotan <chorotan@mozilla.com>
Date: Wed, 1 Oct 2025 18:14:09 +0300
Revert "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" for causing xpcshell failures on test_TelemetryClientID_reset.js
This reverts commit f9ca88edb1601f1254b41cf305829aa32d939e8a.
Diffstat:
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 === false;
+ !this._nimbusVariables.enabled;
const allowInteractionData = Services.prefs.getBoolPref(
"datareporting.healthreport.uploadEnabled",
false