summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_authentication.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /netwerk/test/unit/test_authentication.js
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'netwerk/test/unit/test_authentication.js')
-rw-r--r--netwerk/test/unit/test_authentication.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/netwerk/test/unit/test_authentication.js b/netwerk/test/unit/test_authentication.js
index 823e2cb36b..f21e0fd4ff 100644
--- a/netwerk/test/unit/test_authentication.js
+++ b/netwerk/test/unit/test_authentication.js
@@ -43,7 +43,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");
},
@@ -99,7 +99,7 @@ AuthPrompt1.prototype = {
return true;
},
- promptPassword: function ap1_promptPW(title, text, realm, save, pwd) {
+ promptPassword: function ap1_promptPW() {
do_throw("unexpected promptPassword call");
},
};
@@ -252,7 +252,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);
},
};
@@ -377,7 +377,7 @@ function makeChan(
var ChannelCreationObserver = {
QueryInterface: ChromeUtils.generateQI(["nsIObserver"]),
- observe(aSubject, aTopic, aData) {
+ observe(aSubject, aTopic) {
if (aTopic == "http-on-opening-request") {
initialChannelId = aSubject.QueryInterface(Ci.nsIIdentChannel).channelId;
}
@@ -666,7 +666,7 @@ async function test_nonascii_xhr() {
await new Promise(resolve => {
let xhr = new XMLHttpRequest();
xhr.open("GET", URL + "/auth/non_ascii", true, "é", "é");
- xhr.onreadystatechange = function (event) {
+ xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
Assert.equal(xhr.status, 200);
resolve();