Bug 1096319

This commit is contained in:
Gijs Kruitbosch 2014-12-29 12:12:02 -08:00
parent 70b2583154
commit 34f30cdadc

View File

@ -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.