Bug 1030414 - When browser.tabs.remote.autostart is true, make sure non-e10s windows can still open popups. r=smaug.
authorMike Conley <mconley@mozilla.com>
Fri, 27 Jun 2014 13:13:00 -0400
changeset 212521 f472837980fdb358ac1020ee020ed03419846675
parent 212520 bd66f521c2b8c3546bbea9a2faff8962c637152c
child 212522 b859e3748f30315056760516b1d382d92e2d9066
push id3857
push userraliiev@mozilla.com
push dateTue, 02 Sep 2014 16:39:23 +0000
treeherdermozilla-beta@5638b907b505 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1030414
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1030414 - When browser.tabs.remote.autostart is true, make sure non-e10s windows can still open popups. r=smaug.
xpfe/appshell/src/nsAppShellService.cpp
--- a/xpfe/appshell/src/nsAppShellService.cpp
+++ b/xpfe/appshell/src/nsAppShellService.cpp
@@ -624,17 +624,17 @@ nsAppShellService::JustCreateTopWindow(n
 
   if (!isPrivateBrowsingWindow && parentContext) {
     // Ensure that we propagate any existing private browsing status
     // from the parent, even if it will not actually be used
     // as a parent value.
     isPrivateBrowsingWindow = parentContext->UsePrivateBrowsing();
   }
 
-  if (!isUsingRemoteTabs && parentContext) {
+  if (parentContext) {
     isUsingRemoteTabs = parentContext->UseRemoteTabs();
   }
 
   nsCOMPtr<nsIDOMWindow> newDomWin =
       do_GetInterface(NS_ISUPPORTS_CAST(nsIBaseWindow*, window));
   nsCOMPtr<nsIWebNavigation> newWebNav = do_GetInterface(newDomWin);
   nsCOMPtr<nsILoadContext> thisContext = do_GetInterface(newWebNav);
   if (thisContext) {