From 159073c8f6968ab841a983cdddfc446fd2ed9c67 Mon Sep 17 00:00:00 2001 From: Yi Gu Date: Wed, 28 Feb 2024 08:40:39 +0000 Subject: [PATCH] Bug 1882166 [wpt PR 44793] - [FedCM] Fix dom exception type for TooManyRequests, a=testonly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic update from web-platform-tests [FedCM] Fix dom exception type for TooManyRequests We have the right type in web_identity_requester.cc but not in these two files. Bug: None Change-Id: Iadf6c6ef6cf7fcdfdc69e8abc660d201100918a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5323347 Commit-Queue: Yi Gu Reviewed-by: Nicolás Peña Cr-Commit-Position: refs/heads/main@{#1265498} -- wpt-commits: 2a9fa3b5e2a898141a6373804b2b6e6f1c15957f wpt-pr: 44793 --- .../fedcm-pending-call-rejected.https.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 feb3f903d87a..bb9f885a8a1b 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");