summaryrefslogtreecommitdiffstats
path: root/dom/credentialmanagement/identity
diff options
context:
space:
mode:
Diffstat (limited to 'dom/credentialmanagement/identity')
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_accounts_error.html4
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_accounts_redirect.html4
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_delay_reject.html4
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_empty_provider_list.html4
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_get_without_providers.html4
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_idtoken_error.html4
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_idtoken_redirect.html4
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_no_accounts.html4
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_simple.html2
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_two_accounts.html2
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_two_providers.html2
-rw-r--r--dom/credentialmanagement/identity/tests/mochitest/test_wrong_provider_in_manifest.html4
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();