summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_protocolproxyservice-async-filters.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_protocolproxyservice-async-filters.js')
-rw-r--r--netwerk/test/unit/test_protocolproxyservice-async-filters.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/test/unit/test_protocolproxyservice-async-filters.js b/netwerk/test/unit/test_protocolproxyservice-async-filters.js
index fcf43d63ef..e7898dbb59 100644
--- a/netwerk/test/unit/test_protocolproxyservice-async-filters.js
+++ b/netwerk/test/unit/test_protocolproxyservice-async-filters.js
@@ -25,10 +25,10 @@ TestProtocolHandler.prototype = {
Ci.nsIProtocolHandler.URI_NORELATIVE |
Ci.nsIProtocolHandler.ALLOWS_PROXY |
Ci.nsIProtocolHandler.URI_DANGEROUS_TO_LOAD,
- newChannel(uri, aLoadInfo) {
+ newChannel() {
throw Components.Exception("", Cr.NS_ERROR_NOT_IMPLEMENTED);
},
- allowPort(port, scheme) {
+ allowPort() {
return true;
},
};
@@ -128,7 +128,7 @@ resolveCallback.prototype = {
QueryInterface: ChromeUtils.generateQI(["nsIProtocolProxyCallback"]),
- onProxyAvailable(req, channel, pi, status) {
+ onProxyAvailable(req, channel, pi) {
this.nextFunction(pi);
},
};