Bug 1423220 - Don't delay activating the DocShell for tabs that we're rendering by switching and not warming. r=dthayer

MozReview-Commit-ID: 3UmocajaSWJ

--HG--
extra : rebase_source : f79b07bd5620312b959503aeee5410c2e205a471
This commit is contained in:
Mike Conley 2018-03-16 11:39:22 -04:00
Родитель dd60b016e6
Коммит 1bb8e62185
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -254,7 +254,9 @@ class AsyncTabSwitcher {
if (state == this.STATE_LOADING) {
this.assert(!this.minimizedOrFullyOccluded);
if (!this.tabbrowser.tabWarmingEnabled) {
// If we're not in the process of warming this tab, we
// don't need to delay activating its DocShell.
if (!this.warmingTabs.has(tab)) {
browser.docShellIsActive = true;
}