Bug 1190903 - Make swapped browser docshell active (r=Gijs)

This commit is contained in:
Bill McCloskey 2015-08-18 10:27:34 -07:00
parent b33248de3c
commit 93105a4154

View File

@ -2567,6 +2567,9 @@
remoteBrowser._outerWindowIDBrowserMap.delete(aOtherBrowser.outerWindowID);
}
aOtherBrowser.docShellIsActive = (ourBrowser == this.selectedBrowser &&
window.windowState != window.STATE_MINIMIZED);
// Swap the docshells
ourBrowser.swapDocShells(aOtherBrowser);