Bug 1073992 - Fix bc1-pgo bustage on a CLOSED TREE by flushing the main window's tab r=bustage
authorTim Taubert <ttaubert@mozilla.com>
Thu, 09 Oct 2014 19:43:51 +0200
changeset 232905 82df8ad2c609a2e5411330eef7954fd36f2aa3d7
parent 232904 4b9e08526336f83f305cbdc85e93da7ce8401dfa
child 232906 b197c72ec2c290ad3cc41ae5728c7957adf9b56a
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1073992
milestone35.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 1073992 - Fix bc1-pgo bustage on a CLOSED TREE by flushing the main window's tab r=bustage
browser/components/sessionstore/test/browser_revive_windows.js
--- a/browser/components/sessionstore/test/browser_revive_windows.js
+++ b/browser/components/sessionstore/test/browser_revive_windows.js
@@ -68,16 +68,17 @@ add_task(function* test_revive_windows_o
   // We can restore up to three windows max.
   Services.prefs.setIntPref(PREF_MAX_UNDO, 3);
 
   // Clear list of closed windows.
   forgetClosedWindows();
 
   let tab = gBrowser.addTab(URL_MAIN_WINDOW);
   yield promiseBrowserLoaded(tab.linkedBrowser);
+  TabState.flush(tab.linkedBrowser);
   registerCleanupFunction(() => gBrowser.removeTab(tab));
 
   let win0 = yield promiseNewWindow();
   let tab0 = win0.gBrowser.addTab(URL_CLOSED_WINDOW);
   yield promiseBrowserLoaded(tab0.linkedBrowser);
 
   yield promiseWindowClosed(win0);
   let data = ss.getClosedWindowData();