summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_ntlm_web_auth.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_ntlm_web_auth.js')
-rw-r--r--netwerk/test/unit/test_ntlm_web_auth.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/test/unit/test_ntlm_web_auth.js b/netwerk/test/unit/test_ntlm_web_auth.js
index 1325477bc6..9a61e91445 100644
--- a/netwerk/test/unit/test_ntlm_web_auth.js
+++ b/netwerk/test/unit/test_ntlm_web_auth.js
@@ -29,7 +29,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);
},
};
@@ -68,7 +68,7 @@ function makeChan(url, loadingUrl) {
}
function TestListener() {}
-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)) {
@@ -77,7 +77,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 ");
if (current_test < tests.length - 1) {