Bug 605299 - Could potentially miss starting a restore [r=dao, a-2.0=dolske]

This commit is contained in:
Paul O'Shannessy 2010-10-19 15:58:56 -07:00
parent 6842741d6f
commit 3dfe08cd1f

View File

@ -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;
}
}