Skip to content

Commit

Permalink
Use getWindowlessBrowserFrame for all supported applications
Browse files Browse the repository at this point in the history
  • Loading branch information
JustOff committed Mar 4, 2021
1 parent d26f3ac commit b7d0b48
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions platform/firefox/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit b7d0b48

Please sign in to comment.