Bug 1601484 - Fix failing browser_contentTab.js; rs=bustage-fix
authorGeoff Lankow <geoff@darktrojan.net>
Thu, 05 Dec 2019 11:28:20 +1300
changeset 82252 040ffadfe15ffb98f834ef9495a4dbf87b2f413b
parent 82247 2cfb1d544ba0442fce04865f94804fd79ddeb30e
child 82253 e6ef656abc78e029a8a4922dc3af38882d3329fd
push id9943
push usergeoff@darktrojan.net
push dateThu, 05 Dec 2019 01:40:12 +0000
treeherdertry-comm-central@03d4b43af7c0 [default view] [failures only]
reviewersbustage-fix
bugs1601484
Bug 1601484 - Fix failing browser_contentTab.js; rs=bustage-fix
mail/test/browser/content-tabs/browser_contentTab.js
--- a/mail/test/browser/content-tabs/browser_contentTab.js
+++ b/mail/test/browser/content-tabs/browser_contentTab.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+/* globals gFolderTreeView */
+
 "use strict";
 
 var controller = ChromeUtils.import(
   "resource://testing-common/mozmill/controller.jsm"
 );
 var elementslib = ChromeUtils.import(
   "resource://testing-common/mozmill/elementslib.jsm"
 );
@@ -207,9 +209,11 @@ add_task(function test_content_tab_onbef
 // - test find bar
 // - window.close within tab
 // - zoom?
 
 registerCleanupFunction(function teardownModule() {
   while (mc.tabmail.tabInfo.length > 1) {
     mc.tabmail.closeTab(1);
   }
+
+  gFolderTreeView._tree.focus();
 });