Bug 723349 - Fix params in addTab on session restore failure. r=mfinkle

This commit is contained in:
Brian Nicholson 2012-02-01 17:51:41 -08:00
parent 0f75b1f7e3
commit 2fb6f017fe

View File

@ -311,8 +311,10 @@ var BrowserApp = {
observe: function(aSubject, aTopic, aData) {
Services.obs.removeObserver(restoreCleanup, "sessionstore-windows-restored");
if (aData == "fail") {
let params = { selected: restoreToFront };
BrowserApp.addTab("about:home", { showProgress: false });
BrowserApp.addTab("about:home", {
showProgress: false,
selected: restoreToFront
});
}
sendMessageToJava({