aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap.js
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.js')
-rw-r--r--bootstrap.js8
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;
};