mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 719868 - Progress throbber still shows when we load about:home on startup. r=mfinkle
This commit is contained in:
parent
2b5755f76a
commit
abb2f85e49
@ -307,7 +307,7 @@ var BrowserApp = {
|
|||||||
observe: function(aSubject, aTopic, aData) {
|
observe: function(aSubject, aTopic, aData) {
|
||||||
Services.obs.removeObserver(restoreCleanup, "sessionstore-windows-restored");
|
Services.obs.removeObserver(restoreCleanup, "sessionstore-windows-restored");
|
||||||
if (aData == "fail")
|
if (aData == "fail")
|
||||||
BrowserApp.addTab("about:home");
|
BrowserApp.addTab("about:home", { showProgress: false });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Services.obs.addObserver(restoreCleanup, "sessionstore-windows-restored", false);
|
Services.obs.addObserver(restoreCleanup, "sessionstore-windows-restored", false);
|
||||||
@ -316,7 +316,7 @@ var BrowserApp = {
|
|||||||
// Start the restore
|
// Start the restore
|
||||||
ss.restoreLastSession(restoreToFront);
|
ss.restoreLastSession(restoreToFront);
|
||||||
} else {
|
} else {
|
||||||
this.addTab(url);
|
this.addTab(url, { showProgress: url != "about:home" });
|
||||||
|
|
||||||
// show telemetry door hanger if we aren't restoring a session
|
// show telemetry door hanger if we aren't restoring a session
|
||||||
this._showTelemetryPrompt();
|
this._showTelemetryPrompt();
|
||||||
|
Loading…
Reference in New Issue
Block a user