diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /dom/credentialmanagement | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz firefox-adbda400be353e676059e335c3c0aaf99e719475.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/credentialmanagement')
12 files changed, 21 insertions, 21 deletions
diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_accounts_error.html b/dom/credentialmanagement/identity/tests/mochitest/test_accounts_error.html index ca0f85b110..ec653e1954 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_accounts_error.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_accounts_error.html @@ -20,9 +20,9 @@ } }); } - ).then((cred) => { + ).then(() => { ok(false, "incorrectly got a credential"); - }).catch((err) => { + }).catch(() => { ok(true, "correctly got an error"); }).finally(() => { SimpleTest.finish(); diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_accounts_redirect.html b/dom/credentialmanagement/identity/tests/mochitest/test_accounts_redirect.html index 99b897d35e..6d42b5b75a 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_accounts_redirect.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_accounts_redirect.html @@ -20,9 +20,9 @@ } }); } - ).then((cred) => { + ).then(() => { ok(false, "incorrectly got a credential"); - }).catch((err) => { + }).catch(() => { ok(true, "correctly got an error"); }).finally(() => { SimpleTest.finish(); diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_delay_reject.html b/dom/credentialmanagement/identity/tests/mochitest/test_delay_reject.html index 0151f4b6c4..3ff519e954 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_delay_reject.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_delay_reject.html @@ -22,9 +22,9 @@ } }); } - ).then((cred) => { + ).then(() => { ok(false, "incorrectly got a credential"); - }).catch((err) => { + }).catch(() => { ok(true, "correctly got an error"); }).finally(() => { SimpleTest.finish(); diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_empty_provider_list.html b/dom/credentialmanagement/identity/tests/mochitest/test_empty_provider_list.html index ad5b6ea28c..5f992d6685 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_empty_provider_list.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_empty_provider_list.html @@ -17,9 +17,9 @@ } }); } - ).then((cred) => { + ).then(() => { ok(false, "incorrectly got a credential"); - }).catch((err) => { + }).catch(() => { ok(true, "correctly got an error"); }).finally(() => { SimpleTest.finish(); diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_get_without_providers.html b/dom/credentialmanagement/identity/tests/mochitest/test_get_without_providers.html index 4425abf5aa..5507c425de 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_get_without_providers.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_get_without_providers.html @@ -15,9 +15,9 @@ } }); } - ).then((cred) => { + ).then(() => { ok(false, "incorrectly got a credential"); - }).catch((err) => { + }).catch(() => { ok(true, "correctly got an error"); }).finally(() => { SimpleTest.finish(); diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_idtoken_error.html b/dom/credentialmanagement/identity/tests/mochitest/test_idtoken_error.html index ddc6716081..bcff6141dc 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_idtoken_error.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_idtoken_error.html @@ -20,9 +20,9 @@ } }); } - ).then((cred) => { + ).then(() => { ok(false, "incorrectly got a credential"); - }).catch((err) => { + }).catch(() => { ok(true, "correctly got an error"); }).finally(() => { SimpleTest.finish(); diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_idtoken_redirect.html b/dom/credentialmanagement/identity/tests/mochitest/test_idtoken_redirect.html index 88512a1d22..d2538722f1 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_idtoken_redirect.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_idtoken_redirect.html @@ -20,9 +20,9 @@ } }); } - ).then((cred) => { + ).then(() => { ok(false, "incorrectly got a credential"); - }).catch((err) => { + }).catch(() => { ok(true, "correctly got an error"); }).finally(() => { SimpleTest.finish(); diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_no_accounts.html b/dom/credentialmanagement/identity/tests/mochitest/test_no_accounts.html index 90c3335eda..5cb09abd00 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_no_accounts.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_no_accounts.html @@ -20,9 +20,9 @@ } }); } - ).then((cred) => { + ).then(() => { ok(false, "incorrectly got a credential"); - }).catch((err) => { + }).catch(() => { ok(true, "correctly got an error"); }).finally(() => { SimpleTest.finish(); diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_simple.html b/dom/credentialmanagement/identity/tests/mochitest/test_simple.html index 39d34f3d5f..8a2190853b 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_simple.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_simple.html @@ -31,7 +31,7 @@ is(cred.type, "identity", "Correct type on the credential"); - }).catch((err) => { + }).catch(() => { ok(false, "must not have an error"); }).finally(() => { SimpleTest.finish(); diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_two_accounts.html b/dom/credentialmanagement/identity/tests/mochitest/test_two_accounts.html index 36e99adf75..3ecef462ce 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_two_accounts.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_two_accounts.html @@ -31,7 +31,7 @@ is(cred.type, "identity", "Correct type on the credential"); - }).catch((err) => { + }).catch(() => { ok(false, "must not have an error"); }).finally(() => { SimpleTest.finish(); diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_two_providers.html b/dom/credentialmanagement/identity/tests/mochitest/test_two_providers.html index 5533f71064..aded86a23d 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_two_providers.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_two_providers.html @@ -37,7 +37,7 @@ is(cred.type, "identity", "Correct type on the credential"); - }).catch((err) => { + }).catch(() => { ok(false, "must not have an error"); }).finally(() => { SimpleTest.finish(); diff --git a/dom/credentialmanagement/identity/tests/mochitest/test_wrong_provider_in_manifest.html b/dom/credentialmanagement/identity/tests/mochitest/test_wrong_provider_in_manifest.html index 8ff1afe04d..57375dd3b0 100644 --- a/dom/credentialmanagement/identity/tests/mochitest/test_wrong_provider_in_manifest.html +++ b/dom/credentialmanagement/identity/tests/mochitest/test_wrong_provider_in_manifest.html @@ -20,9 +20,9 @@ } }); } - ).then((cred) => { + ).then(() => { ok(false, "incorrectly got a credential"); - }).catch((err) => { + }).catch(() => { ok(true, "correctly got an error"); }).finally(() => { SimpleTest.finish(); |