diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /uriloader/exthandler/ExtHandlerService.sys.mjs | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-upstream/125.0.1.tar.xz firefox-upstream/125.0.1.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'uriloader/exthandler/ExtHandlerService.sys.mjs')
-rw-r--r-- | uriloader/exthandler/ExtHandlerService.sys.mjs | 4 |
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", |