From 46221824650d5eb834eca6b0057f6e34b4ab81fe Mon Sep 17 00:00:00 2001 From: Mark Banner Date: Thu, 11 Mar 2021 14:49:41 +0000 Subject: [PATCH] Bug 1697523 - Fix running browser_autocomplete_enter_race.js in verify mode. r=mak Differential Revision: https://phabricator.services.mozilla.com/D108006 --- .../urlbar/tests/browser/browser_autocomplete_enter_race.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/browser/components/urlbar/tests/browser/browser_autocomplete_enter_race.js b/browser/components/urlbar/tests/browser/browser_autocomplete_enter_race.js index f5dc5785bdab..d09daff2f76a 100644 --- a/browser/components/urlbar/tests/browser/browser_autocomplete_enter_race.js +++ b/browser/components/urlbar/tests/browser/browser_autocomplete_enter_race.js @@ -17,6 +17,8 @@ add_task(async function setup() { }); registerCleanupFunction(async function() { await PlacesUtils.bookmarks.remove(bm); + await PlacesUtils.keywords.eraseEverything(); + await PlacesUtils.history.clear(); }); await PlacesUtils.keywords.insert({ keyword: "keyword",