summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_bug894586.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /netwerk/test/unit/test_bug894586.js
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'netwerk/test/unit/test_bug894586.js')
-rw-r--r--netwerk/test/unit/test_bug894586.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/test/unit/test_bug894586.js b/netwerk/test/unit/test_bug894586.js
index bc25731d36..ecce039790 100644
--- a/netwerk/test/unit/test_bug894586.js
+++ b/netwerk/test/unit/test_bug894586.js
@@ -25,7 +25,7 @@ ProtocolHandler.prototype = {
this.loadInfo = aLoadInfo;
return this;
},
- allowPort(port, scheme) {
+ allowPort(port) {
return port != -1;
},
@@ -67,7 +67,7 @@ ProtocolHandler.prototype = {
loadUsingSystemPrincipal: true,
}).open();
},
- asyncOpen(aListener, aContext) {
+ asyncOpen() {
throw Components.Exception("Not implemented", Cr.NS_ERROR_NOT_IMPLEMENTED);
},
contentDisposition: Ci.nsIChannel.DISPOSITION_INLINE,
@@ -86,7 +86,7 @@ ProtocolHandler.prototype = {
get status() {
return Cr.NS_OK;
},
- cancel(status) {},
+ cancel() {},
loadGroup: null,
loadFlags:
Ci.nsIRequest.LOAD_NORMAL |