Commit 94e39a94 authored by Geoff Lankow's avatar Geoff Lankow
Browse files

Bug 1729836 - Override telemetry products check in test_DownloadBlockedTelemetry.js. r=dimi

This test fails on Thunderbird which doesn't have the telemetry in question.

Differential Revision: https://phabricator.services.mozilla.com/D125014
parent c3810f34
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -5,6 +5,11 @@

"use strict";

Services.prefs.setBoolPref(
  "toolkit.telemetry.testing.overrideProductsCheck",
  true
);

const errors = [
  Downloads.Error.BLOCK_VERDICT_MALWARE,
  Downloads.Error.BLOCK_VERDICT_POTENTIALLY_UNWANTED,