Bug 993712 - Try to fix permanent orange in browser_984455_bookmarks_items_reparenting.js by making sure test for 968447 fully closes its window. r=jaws.
authorMike Conley <mconley@mozilla.com>
Mon, 21 Apr 2014 20:07:00 -0400
changeset 198104 ff282758a46d5f42ecd0ad0183e19df41223a0bc
parent 198103 6bdd0bb387d628d92cdb16ac29eacbebdc1a9b6c
child 198105 b9f340c5b1c9801be2132fd6363383055bc29050
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs993712, 968447
milestone31.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 993712 - Try to fix permanent orange in browser_984455_bookmarks_items_reparenting.js by making sure test for 968447 fully closes its window. r=jaws.
browser/components/customizableui/test/browser_968447_bookmarks_toolbar_items_in_panel.js
--- a/browser/components/customizableui/test/browser_968447_bookmarks_toolbar_items_in_panel.js
+++ b/browser/components/customizableui/test/browser_968447_bookmarks_toolbar_items_in_panel.js
@@ -22,11 +22,11 @@ add_task(function() {
   let newWin = yield openAndLoadWindow();
   yield newWin.PanelUI.show();
   let newWinBookmarksToolbarPlaceholder = newWin.document.getElementById(buttonId);
   ok(newWinBookmarksToolbarPlaceholder.classList.contains("toolbarbutton-1"),
      "Button in new window should have toolbarbutton-1 class");
   is(newWinBookmarksToolbarPlaceholder.getAttribute("wrap"), "true",
      "Button in new window should have 'wrap' attribute");
   yield newWin.PanelUI.hide();
-  newWin.close();
+  yield promiseWindowClosed(newWin);
   CustomizableUI.reset();
 });