Bug 1389621 - Don't set this.animate=false during CombinedStopReload.init since pref monitoring is not guaranteed to run after init(), such is the case when exiting customize mode. r?felipe
MozReview-Commit-ID: LXGChpFG2Xv
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -4928,19 +4928,16 @@ var CombinedStopReload = {
this._initialized = true;
if (XULBrowserWindow.stopCommand.getAttribute("disabled") != "true")
reload.setAttribute("displaystop", "true");
stop.addEventListener("click", this);
this.reload = reload;
this.stop = stop;
this.stopReloadContainer = this.reload.parentNode;
this.timeWhenSwitchedToStop = 0;
-
- // Disable animations until the browser has fully loaded.
- this.animate = false;
},
uninit() {
if (!this._initialized)
return;
Services.prefs.removeObserver("toolkit.cosmeticAnimations.enabled", this);
this._cancelTransition();