Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1087356: make e10s/non-e10s window options appear when no windows…
… are open on Mac, r=felipe
  • Loading branch information
rmottola committed Nov 17, 2019
1 parent 229b444 commit d78b5fe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion browser/base/content/browser.js
Expand Up @@ -1438,6 +1438,8 @@ var gBrowserInit = {
// initialize the sync UI
gSyncUI.init();
#endif

gRemoteTabsUI.init();
},

nonBrowserWindowShutdown: function() {
Expand Down Expand Up @@ -6719,7 +6721,9 @@ let gPrivateBrowsingUI = {

let gRemoteTabsUI = {
init: function() {
if (window.location.href != getBrowserURL()) {
if (window.location.href != getBrowserURL() &&
// Also check hidden window for the Mac no-window case
window.location.href != "chrome://browser/content/hiddenWindow.xul") {
return;
}

Expand Down

0 comments on commit d78b5fe

Please sign in to comment.