Bug 1116776 - test_bug990812.xul leaves a window open during the test run. r=jmaher
authorKaustabh Datta Choudhury <kaustabh93@gmail.com>
Mon, 12 Jan 2015 09:31:36 -0500
changeset 223304 7b1e2e970648f16f8968146f5e75cb6193deeedb
parent 223303 5c20be43873be7954b846cd82544fc9c9fb31dd5
child 223305 c5b38afb60d8123b553ae21497c4752d3fbd4392
push id53875
push userjmaher@mozilla.com
push dateMon, 12 Jan 2015 15:00:43 +0000
treeherdermozilla-inbound@ef1bb856aeb2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1116776, 990812
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1116776 - test_bug990812.xul leaves a window open during the test run. r=jmaher
dom/base/test/chrome/file_bug990812-2.xul
--- a/dom/base/test/chrome/file_bug990812-2.xul
+++ b/dom/base/test/chrome/file_bug990812-2.xul
@@ -43,17 +43,17 @@ https://bugzilla.mozilla.org/show_bug.cg
       var window = promiseMessage("window", messageManager);
       var group = promiseMessage("group", getGroupMessageManager("test"));
 
       var browser = document.querySelector("browser");
       browser.messageManager.loadFrameScript(FRAME_SCRIPT, true);
 
       Promise.all([global, window, group]).then(function () {
         opener.setTimeout("next()");
-        window.close();
+        self.close();
       });
     }
 
   ]]></script>
 
   <browser messagemanagergroup="test" type="content-targetable" src="about:mozilla" />
 
 </window>