summaryrefslogtreecommitdiffstats
path: root/devtools/server/actors/worker/service-worker-registration-list.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/server/actors/worker/service-worker-registration-list.js')
-rw-r--r--devtools/server/actors/worker/service-worker-registration-list.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/devtools/server/actors/worker/service-worker-registration-list.js b/devtools/server/actors/worker/service-worker-registration-list.js
index 9821108faf..6093edc97e 100644
--- a/devtools/server/actors/worker/service-worker-registration-list.js
+++ b/devtools/server/actors/worker/service-worker-registration-list.js
@@ -5,7 +5,8 @@
"use strict";
const { XPCOMUtils } = ChromeUtils.importESModule(
- "resource://gre/modules/XPCOMUtils.sys.mjs"
+ "resource://gre/modules/XPCOMUtils.sys.mjs",
+ { global: "contextual" }
);
loader.lazyRequireGetter(
this,
@@ -102,11 +103,11 @@ class ServiceWorkerRegistrationActorList {
this._mustNotify = false;
}
- onRegister(registration) {
+ onRegister() {
this._notifyListChanged();
}
- onUnregister(registration) {
+ onUnregister() {
this._notifyListChanged();
}
}