From 14392e73d5df0a4d5ad6af4d1196b59e36b070bf Mon Sep 17 00:00:00 2001 From: Mark Striemer Date: Thu, 26 Oct 2017 13:14:18 -0500 Subject: [PATCH] Bug 1409359 - Cleanup installed add-on in testExtensionControlledNewTab r=aswan,bsilverberg MozReview-Commit-ID: B9GKuyvPWNd --HG-- extra : rebase_source : 07140c9189c8f278f9526d4b12ea27a5afff6088 --- .../in-content/tests/browser_extension_controlled.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/browser/components/preferences/in-content/tests/browser_extension_controlled.js b/browser/components/preferences/in-content/tests/browser_extension_controlled.js index e0092052f582..e8fb5fa36453 100644 --- a/browser/components/preferences/in-content/tests/browser_extension_controlled.js +++ b/browser/components/preferences/in-content/tests/browser_extension_controlled.js @@ -274,6 +274,8 @@ add_task(async function testExtensionControlledNewTab() { is(controlledContent.hidden, true, "The extension controlled row is hidden"); await BrowserTestUtils.removeTab(gBrowser.selectedTab); + let addon = await AddonManager.getAddonByID("@set_newtab"); + addon.uninstall(); }); add_task(async function testExtensionControlledHomepageUninstalledAddon() {