Fix Bug#1381459 draft
authorNathaniel Nebel <me@nathanielnebel.com>
Tue, 07 Nov 2017 23:54:23 -0800
changeset 694771 9866270e360e
parent 694770 ae84cf6a2016
child 739429 a70902e1ee2a
push id88239
push userbmo:me@nathanielnebel.com
push dateWed, 08 Nov 2017 07:55:12 +0000
bugs1381459
milestone58.0a1
Fix Bug#1381459 MozReview-Commit-ID: 8X0hsSOf2b3
testing/marionette/harness/marionette_harness/tests/unit/test_window_status_content.py
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_window_status_content.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_window_status_content.py
@@ -113,20 +113,22 @@ class TestNoSuchWindowContent(WindowMana
 
         with self.assertRaises(NoSuchWindowException):
             self.marionette.switch_to_window(tab)
 
     def test_closed_browserless_tab(self):
         with self.marionette.using_context("content"):
             tab = self.open_tab()
             self.marionette.switch_to_window(tab)
-            self.marionette.navigate(self.test_page)	
+            self.marionette.navigate(self.test_page)
 
         with self.marionette.using_context("chrome"):
             self.marionette.execute_script("""
               Components.utils.import("resource://gre/modules/AppConstants.jsm");
               Components.utils.import("resource:///modules/RecentWindow.jsm");
           
               let win = RecentWindow.getMostRecentBrowserWindow();
 
               win.gBrowser.discardBrowser();
             """)
 
+        self.marionette.close()
+