summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_suspend_channel_on_authRetry.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_suspend_channel_on_authRetry.js')
-rw-r--r--netwerk/test/unit/test_suspend_channel_on_authRetry.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/test/unit/test_suspend_channel_on_authRetry.js b/netwerk/test/unit/test_suspend_channel_on_authRetry.js
index ad0b728b68..ef242b65e5 100644
--- a/netwerk/test/unit/test_suspend_channel_on_authRetry.js
+++ b/netwerk/test/unit/test_suspend_channel_on_authRetry.js
@@ -22,7 +22,7 @@ AuthPrompt.prototype = {
QueryInterface: ChromeUtils.generateQI(["nsIAuthPrompt"]),
- prompt: function ap1_prompt(title, text, realm, save, defaultText, result) {
+ prompt: function ap1_prompt() {
do_throw("unexpected prompt call");
},
@@ -42,7 +42,7 @@ AuthPrompt.prototype = {
return true;
},
- promptPassword: function promptPW(title, text, realm, save, pwd) {
+ promptPassword: function promptPW() {
do_throw("unexpected promptPassword call");
},
};
@@ -64,7 +64,7 @@ requestListenerObserver.prototype = {
resumeOnModifyRequest: false,
QueryInterface: ChromeUtils.generateQI(["nsIObserver"]),
- observe(subject, topic, data) {
+ observe(subject, topic) {
if (
topic === "http-on-before-connect" &&
subject instanceof Ci.nsIHttpChannel