aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessio Vanni <vannilla@firemail.cc>2019-03-14 09:54:53 +0100
committerAlessio Vanni <vannilla@firemail.cc>2019-03-14 09:54:53 +0100
commite1a2e36d6284e6839ceb3de0e083550170cbb616 (patch)
tree28932bf89a5367794243edf41a8c0461c10c21dc
parent6fe211f4396445f6ec01eb91ee66ef91956714ff (diff)
downloadematrix-e1a2e36d6284e6839ceb3de0e083550170cbb616.tar.lz
ematrix-e1a2e36d6284e6839ceb3de0e083550170cbb616.tar.xz
ematrix-e1a2e36d6284e6839ceb3de0e083550170cbb616.zip
Remove obsolete check
-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;
};