summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_ntlm_proxy_and_web_auth.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_ntlm_proxy_and_web_auth.js')
-rw-r--r--netwerk/test/unit/test_ntlm_proxy_and_web_auth.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/test/unit/test_ntlm_proxy_and_web_auth.js b/netwerk/test/unit/test_ntlm_proxy_and_web_auth.js
index 3435839275..eb3396770e 100644
--- a/netwerk/test/unit/test_ntlm_proxy_and_web_auth.js
+++ b/netwerk/test/unit/test_ntlm_proxy_and_web_auth.js
@@ -30,7 +30,7 @@ AuthPrompt.prototype = {
return true;
},
- asyncPromptAuth: function ap_async(chan, cb, ctx, lvl, info) {
+ asyncPromptAuth: function ap_async() {
throw Components.Exception("", Cr.NS_ERROR_NOT_IMPLEMENTED);
},
};
@@ -71,7 +71,7 @@ function makeChan(url, loadingUrl) {
function TestListener(resolve) {
this.resolve = resolve;
}
-TestListener.prototype.onStartRequest = function (request, context) {
+TestListener.prototype.onStartRequest = function (request) {
// Need to do the instanceof to allow request.responseStatus
// to be read.
if (!(request instanceof Ci.nsIHttpChannel)) {
@@ -80,7 +80,7 @@ TestListener.prototype.onStartRequest = function (request, context) {
Assert.equal(expectedResponse, request.responseStatus, "HTTP Status code");
};
-TestListener.prototype.onStopRequest = function (request, context, status) {
+TestListener.prototype.onStopRequest = function () {
Assert.equal(expectedRequests, requestsMade, "Number of requests made ");
this.resolve();