diff --git a/browser/components/sessionstore/src/nsSessionStore.js b/browser/components/sessionstore/src/nsSessionStore.js index 17f783f2788..ee6f716032e 100644 --- a/browser/components/sessionstore/src/nsSessionStore.js +++ b/browser/components/sessionstore/src/nsSessionStore.js @@ -2620,13 +2620,14 @@ SessionStoreService.prototype = { browser.__SS_restore_pageStyle = tabData.pageStyle || ""; browser.__SS_restore_tab = aTab; + didStartLoad = true; try { - didStartLoad = true; browser.webNavigation.gotoIndex(activeIndex); } catch (ex) { // ignore page load errors aTab.removeAttribute("busy"); + didStartLoad = false; } }