summaryrefslogtreecommitdiffstats
path: root/uriloader/exthandler/ExtHandlerService.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'uriloader/exthandler/ExtHandlerService.sys.mjs')
-rw-r--r--uriloader/exthandler/ExtHandlerService.sys.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/uriloader/exthandler/ExtHandlerService.sys.mjs b/uriloader/exthandler/ExtHandlerService.sys.mjs
index aad2c0b8d9..d7f3c9b9e0 100644
--- a/uriloader/exthandler/ExtHandlerService.sys.mjs
+++ b/uriloader/exthandler/ExtHandlerService.sys.mjs
@@ -324,7 +324,7 @@ HandlerService.prototype = {
},
// nsIObserver
- observe(subject, topic, data) {
+ observe(subject, topic) {
if (topic != "handlersvc-json-replace") {
return;
}
@@ -726,7 +726,7 @@ HandlerService.prototype = {
this._mockedProtocol = protocol;
this._mockedHandler = {
QueryInterface: ChromeUtils.generateQI([Ci.nsILocalHandlerApp]),
- launchWithURI(uri, context) {
+ launchWithURI(uri) {
Services.obs.notifyObservers(uri, "mocked-protocol-handler");
},
name: "Mocked handler",