зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1882166 [wpt PR 44793] - [FedCM] Fix dom exception type for TooManyRequests, a=testonly
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 <yigu@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org> Cr-Commit-Position: refs/heads/main@{#1265498} -- wpt-commits: 2a9fa3b5e2a898141a6373804b2b6e6f1c15957f wpt-pr: 44793
This commit is contained in:
Родитель
aafc67f2e2
Коммит
159073c8f6
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче