diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /dom/credentialmanagement/identity/tests | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-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 'dom/credentialmanagement/identity/tests')
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(); |