Skip to content
Permalink
Browse files
Use getWindowlessBrowserFrame for all supported applications
  • Loading branch information
JustOff committed Mar 4, 2021
1 parent d26f3ac commit b7d0b482eb4788d5afadb9cdc222e13ffe222e38
Showing with 1 addition and 6 deletions.
  1. +1 −6 platform/firefox/bootstrap.js
@@ -132,12 +132,7 @@ function waitForHiddenWindow() {
// window for the actual background page (windowless browsers are
// also what the webextension implementation in Firefox uses for
// background pages).
let { Services } = Cu.import('resource://gre/modules/Services.jsm', null);
if ( Services.vc.compare(Services.appinfo.platformVersion, '27') >= 0 ) {
getWindowlessBrowserFrame(appShell);
} else {
createBgProcess(hiddenDoc);
}
getWindowlessBrowserFrame(appShell);
return true;
};

0 comments on commit b7d0b48

Please sign in to comment.