Backed out changeset 440b703da884 (bug 1380150) for failing many mochitests with exceptions. r=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Sun, 10 Sep 2017 17:44:58 +0200
changeset 379978 ecd75d0e0a2f5215aa4c3a08502e4434192b4ab3
parent 379977 440b703da884ff5eaa805314982c2003febf5349
child 379979 903b743e407ebb7cd5ffbcebd5268588d5b31b02
push id50852
push userarchaeopteryx@coole-files.de
push dateSun, 10 Sep 2017 15:45:14 +0000
treeherderautoland@ecd75d0e0a2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1380150
milestone57.0a1
backs out440b703da884ff5eaa805314982c2003febf5349
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 440b703da884 (bug 1380150) for failing many mochitests with exceptions. r=backout
browser/base/content/tabbrowser.xml
--- a/browser/base/content/tabbrowser.xml
+++ b/browser/base/content/tabbrowser.xml
@@ -664,17 +664,17 @@
             onProgressChange(aWebProgress, aRequest,
                              aCurSelfProgress, aMaxSelfProgress,
                              aCurTotalProgress, aMaxTotalProgress) {
               this.mTotalProgress = aMaxTotalProgress ? aCurTotalProgress / aMaxTotalProgress : 0;
 
               if (!this._shouldShowProgress(aRequest))
                 return;
 
-              if (this.mTotalProgress && aWebProgress.isTopLevel)
+              if (this.mTotalProgress)
                 this.mTab.setAttribute("progress", "true");
 
               this._callProgressListeners("onProgressChange",
                                           [aWebProgress, aRequest,
                                            aCurSelfProgress, aMaxSelfProgress,
                                            aCurTotalProgress, aMaxTotalProgress]);
             },
 
@@ -751,18 +751,17 @@
                     this.mBrowser.urlbarChangeTracker.startedLoad();
                   }
                   delete this.mBrowser.initialPageLoadedFromURLBar;
                   // If the browser is loading it must not be crashed anymore
                   this.mTab.removeAttribute("crashed");
                 }
 
                 if (this._shouldShowProgress(aRequest)) {
-                  if (!(aStateFlags & nsIWebProgressListener.STATE_RESTORING) &&
-                      aWebProgress.isTopLevel) {
+                  if (!(aStateFlags & nsIWebProgressListener.STATE_RESTORING)) {
                     this.mTab.setAttribute("busy", "true");
                     this._syncThrobberAnimations();
                   }
 
                   if (this.mTab.selected) {
                     this.mTabBrowser.mIsBusy = true;
                   }
                 }