зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1262643 - Fix switcher logging (rs=me)
This commit is contained in:
Родитель
bafa144b1d
Коммит
e5edaae6df
|
@ -3777,13 +3777,13 @@
|
|||
let state = this.getTabState(tab);
|
||||
|
||||
accum += i + ":";
|
||||
if (tab === this.lastVisibleTab) dump("V");
|
||||
if (tab === this.loadingTab) dump("L");
|
||||
if (tab === this.requestedTab) dump("R");
|
||||
if (state == this.STATE_LOADED) dump("(+)");
|
||||
if (state == this.STATE_LOADING) dump("(+?)");
|
||||
if (state == this.STATE_UNLOADED) dump("(-)");
|
||||
if (state == this.STATE_UNLOADING) dump("(-?)");
|
||||
if (tab === this.lastVisibleTab) accum += "V";
|
||||
if (tab === this.loadingTab) accum += "L";
|
||||
if (tab === this.requestedTab) accum += "R";
|
||||
if (state == this.STATE_LOADED) accum += "(+)";
|
||||
if (state == this.STATE_LOADING) accum += "(+?)";
|
||||
if (state == this.STATE_UNLOADED) accum += "(-)";
|
||||
if (state == this.STATE_UNLOADING) accum += "(-?)";
|
||||
accum += " ";
|
||||
}
|
||||
if (this._useDumpForLogging) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче