mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
Bug 1380150 - Prevent subresource loads from showing the progress indicator on the tab. r=Gijs
MozReview-Commit-ID: JjZiHp2IXTC --HG-- extra : rebase_source : f819592c576fb2a5d832a36ce12315a54991f3d9
This commit is contained in:
parent
26f88232ff
commit
a2cae65b48
@ -669,7 +669,7 @@
|
||||
if (!this._shouldShowProgress(aRequest))
|
||||
return;
|
||||
|
||||
if (this.mTotalProgress)
|
||||
if (this.mTotalProgress && aWebProgress && aWebProgress.isTopLevel)
|
||||
this.mTab.setAttribute("progress", "true");
|
||||
|
||||
this._callProgressListeners("onProgressChange",
|
||||
@ -756,7 +756,8 @@
|
||||
}
|
||||
|
||||
if (this._shouldShowProgress(aRequest)) {
|
||||
if (!(aStateFlags & nsIWebProgressListener.STATE_RESTORING)) {
|
||||
if (!(aStateFlags & nsIWebProgressListener.STATE_RESTORING) &&
|
||||
aWebProgress && aWebProgress.isTopLevel) {
|
||||
this.mTab.setAttribute("busy", "true");
|
||||
this._syncThrobberAnimations();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user