summaryrefslogtreecommitdiffstats
path: root/content/HttpRequest.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'content/HttpRequest.jsm')
-rw-r--r--content/HttpRequest.jsm4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/HttpRequest.jsm b/content/HttpRequest.jsm
index fa28f97..0478336 100644
--- a/content/HttpRequest.jsm
+++ b/content/HttpRequest.jsm
@@ -34,7 +34,9 @@ var bug669675 = [];
var containers = [];
var sandboxes = {};
-var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
+var Services = globalThis.Services || ChromeUtils.import(
+ "resource://gre/modules/Services.jsm"
+).Services;
var HttpRequest = class {
constructor() {