Bug 719868 - Progress throbber still shows when we load about:home on startup. r=mfinkle

This commit is contained in:
Margaret Leibovic 2012-01-26 15:07:38 -08:00
parent 2b5755f76a
commit abb2f85e49

View File

@ -307,7 +307,7 @@ var BrowserApp = {
observe: function(aSubject, aTopic, aData) {
Services.obs.removeObserver(restoreCleanup, "sessionstore-windows-restored");
if (aData == "fail")
BrowserApp.addTab("about:home");
BrowserApp.addTab("about:home", { showProgress: false });
}
};
Services.obs.addObserver(restoreCleanup, "sessionstore-windows-restored", false);
@ -316,7 +316,7 @@ var BrowserApp = {
// Start the restore
ss.restoreLastSession(restoreToFront);
} else {
this.addTab(url);
this.addTab(url, { showProgress: url != "about:home" });
// show telemetry door hanger if we aren't restoring a session
this._showTelemetryPrompt();