From e8dcf5977efbcfefab422a1c1774302c3390fcfd Mon Sep 17 00:00:00 2001 From: Marco Bonardo Date: Fri, 26 Jul 2019 16:59:25 +0000 Subject: [PATCH] Bug 1568948 - Intermittent failure in browser_urlbar_event_telemetry.js. r=adw Differential Revision: https://phabricator.services.mozilla.com/D39477 --HG-- extra : moz-landing-system : lando --- .../urlbar/tests/browser/browser_urlbar_event_telemetry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js b/browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js index ab540c332d76..39e695cb6989 100644 --- a/browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js +++ b/browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js @@ -574,6 +574,6 @@ add_task(async function test() { let expectedEvents = [await testFn()].filter(e => !!e); // Always blur to ensure it's not accounted as an additional abandonment. gURLBar.blur(); - TelemetryTestUtils.assertEvents(expectedEvents); + TelemetryTestUtils.assertEvents(expectedEvents, { category: "urlbar" }); } });