mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
Bug 1446314 - Rename mIsBusy to _isBusy r=dao
MozReview-Commit-ID: H1H4om8F6dt --HG-- extra : rebase_source : 1e2ad604ca7653be466087dcff671e63630bb163
This commit is contained in:
parent
1f01a16a9b
commit
58c16b4984
@ -84,7 +84,7 @@ window._gBrowser = {
|
||||
|
||||
_tabFilters: new Map(),
|
||||
|
||||
mIsBusy: false,
|
||||
_isBusy: false,
|
||||
|
||||
_outerWindowIDBrowserMap: new Map(),
|
||||
|
||||
@ -990,8 +990,8 @@ window._gBrowser = {
|
||||
|
||||
// If the new tab is busy, and our current state is not busy, then
|
||||
// we need to fire a start to all progress listeners.
|
||||
if (newTab.hasAttribute("busy") && !this.mIsBusy) {
|
||||
this.mIsBusy = true;
|
||||
if (newTab.hasAttribute("busy") && !this._isBusy) {
|
||||
this._isBusy = true;
|
||||
this._callProgressListeners(null, "onStateChange",
|
||||
[webProgress, null,
|
||||
Ci.nsIWebProgressListener.STATE_START |
|
||||
@ -1001,8 +1001,8 @@ window._gBrowser = {
|
||||
|
||||
// If the new tab is not busy, and our current state is busy, then
|
||||
// we need to fire a stop to all progress listeners.
|
||||
if (!newTab.hasAttribute("busy") && this.mIsBusy) {
|
||||
this.mIsBusy = false;
|
||||
if (!newTab.hasAttribute("busy") && this._isBusy) {
|
||||
this._isBusy = false;
|
||||
this._callProgressListeners(null, "onStateChange",
|
||||
[webProgress, null,
|
||||
Ci.nsIWebProgressListener.STATE_STOP |
|
||||
@ -3066,7 +3066,7 @@ window._gBrowser = {
|
||||
aOurTab.setAttribute("busy", "true");
|
||||
modifiedAttrs.push("busy");
|
||||
if (aOurTab.selected)
|
||||
this.mIsBusy = true;
|
||||
this._isBusy = true;
|
||||
}
|
||||
|
||||
this._swapBrowserDocShells(aOurTab, otherBrowser, Ci.nsIBrowser.SWAP_DEFAULT, stateFlags);
|
||||
@ -4352,7 +4352,7 @@ class TabProgressListener {
|
||||
}
|
||||
|
||||
if (this.mTab.selected) {
|
||||
gBrowser.mIsBusy = true;
|
||||
gBrowser._isBusy = true;
|
||||
}
|
||||
}
|
||||
} else if (aStateFlags & Ci.nsIWebProgressListener.STATE_STOP &&
|
||||
@ -4423,7 +4423,7 @@ class TabProgressListener {
|
||||
this.mBrowser.userTypedValue = null;
|
||||
|
||||
if (this.mTab.selected)
|
||||
gBrowser.mIsBusy = false;
|
||||
gBrowser._isBusy = false;
|
||||
}
|
||||
|
||||
if (ignoreBlank) {
|
||||
|
Loading…
Reference in New Issue
Block a user