diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2019-04-23 15:08:16 +0200 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2019-04-23 15:08:16 +0200 |
commit | 1aaed92dc30e7d0364d879f0e8fb1e965c9aaa90 (patch) | |
tree | 06fe784bd92f93621d51f48b6c9837f46ee2284c /bootstrap.js | |
parent | decfbd871636adf1ac35049e3c4ef429b019f249 (diff) | |
parent | 387fb6a0f9a96ff684cea262453a7f5b6afcfbb4 (diff) | |
download | ematrix-1aaed92dc30e7d0364d879f0e8fb1e965c9aaa90.tar.lz ematrix-1aaed92dc30e7d0364d879f0e8fb1e965c9aaa90.tar.xz ematrix-1aaed92dc30e7d0364d879f0e8fb1e965c9aaa90.zip |
Merge branch 'appid-guards'
Diffstat (limited to 'bootstrap.js')
-rw-r--r-- | bootstrap.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bootstrap.js b/bootstrap.js index 6573003..059f2d2 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -138,12 +138,8 @@ 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; }; |