summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/credential-management/fedcm-pending-call-rejected.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/credential-management/fedcm-pending-call-rejected.https.html')
-rw-r--r--testing/web-platform/tests/credential-management/fedcm-pending-call-rejected.https.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/credential-management/fedcm-pending-call-rejected.https.html b/testing/web-platform/tests/credential-management/fedcm-pending-call-rejected.https.html
index feb3f903d8..bb9f885a8a 100644
--- a/testing/web-platform/tests/credential-management/fedcm-pending-call-rejected.https.html
+++ b/testing/web-platform/tests/credential-management/fedcm-pending-call-rejected.https.html
@@ -19,7 +19,7 @@ fedcm_test(async t => {
// We have to call promise_rejects_dom here, because if we call it after
// the promise gets rejected, the unhandled rejection event handler is called
// and fails the test even if we handle the rejection later.
- const rej = promise_rejects_dom(t, 'AbortError', second);
+ const rej = promise_rejects_dom(t, 'NotAllowedError', second);
const first_cred = await first;
assert_equals(first_cred.token, "token");