summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_auth_multiple.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_auth_multiple.js')
-rw-r--r--netwerk/test/unit/test_auth_multiple.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/netwerk/test/unit/test_auth_multiple.js b/netwerk/test/unit/test_auth_multiple.js
index 3cf039ea7d..9574c39b9b 100644
--- a/netwerk/test/unit/test_auth_multiple.js
+++ b/netwerk/test/unit/test_auth_multiple.js
@@ -42,7 +42,7 @@ AuthPrompt1.prototype = {
QueryInterface: ChromeUtils.generateQI(["nsIAuthPrompt"]),
- prompt: function ap1_prompt(title, text, realm, save, defaultText, result) {
+ prompt: function ap1_prompt() {
do_throw("unexpected prompt call");
},
@@ -94,7 +94,7 @@ AuthPrompt1.prototype = {
return true;
},
- promptPassword: function ap1_promptPW(title, text, realm, save, pwd) {
+ promptPassword: function ap1_promptPW() {
do_throw("unexpected promptPassword call");
},
};
@@ -117,7 +117,7 @@ AuthPrompt2.prototype = {
return true;
},
- asyncPromptAuth: function ap2_async(chan, cb, ctx, lvl, info) {
+ asyncPromptAuth: function ap2_async() {
throw Components.Exception("", Cr.NS_ERROR_NOT_IMPLEMENTED);
},
};
@@ -175,7 +175,7 @@ RealmTestRequestor.prototype = {
return false;
},
- asyncPromptAuth: function realmtest_async(chan, cb, ctx, lvl, info) {
+ asyncPromptAuth: function realmtest_async() {
throw Components.Exception("", Cr.NS_ERROR_NOT_IMPLEMENTED);
},
};