Bug 1188543 - Make sure finishTabSwitch is always called on layers ready. r=blassey

--HG--
extra : commitid : LyakUEHyEQT
This commit is contained in:
Benoit Girard 2015-08-11 16:03:30 -04:00
parent 5b76d8f3b7
commit fa7e35025b

View File

@ -3371,6 +3371,8 @@
let tab = this.tabbrowser.getTabForBrowser(browser);
this.setTabState(tab, this.STATE_LOADED);
this.finishTabSwitch();
if (this.loadingTab === tab) {
clearTimeout(this.loadTimer);
this.loadTimer = null;