From 34f30cdadce737c11f28ecd5edfc44f65d67d324 Mon Sep 17 00:00:00 2001 From: Gijs Kruitbosch Date: Mon, 29 Dec 2014 12:12:02 -0800 Subject: [PATCH] Bug 1096319 --- browser/base/content/browser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 26a38d5107e3..984f3faaa237 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -923,6 +923,7 @@ var gBrowserInit = { gHistorySwipeAnimation.init(); if (window.opener && !window.opener.closed && + window.opener.document.documentURIObject.schemeIs("chrome") && PrivateBrowsingUtils.isWindowPrivate(window) == PrivateBrowsingUtils.isWindowPrivate(window.opener)) { let openerSidebarBox = window.opener.document.getElementById("sidebar-box"); // If the opener had a sidebar, open the same sidebar in our window.