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

This commit is contained in:
Benoit Girard 2015-08-11 16:03:30 -04:00
parent f979ab17aa
commit 522962e28c

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;