diff options
Diffstat (limited to 'testing/web-platform/tests/credential-management/fedcm-endpoint-redirects.https.html')
-rw-r--r-- | testing/web-platform/tests/credential-management/fedcm-endpoint-redirects.https.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/web-platform/tests/credential-management/fedcm-endpoint-redirects.https.html b/testing/web-platform/tests/credential-management/fedcm-endpoint-redirects.https.html index 36a4de7900..71dbce0326 100644 --- a/testing/web-platform/tests/credential-management/fedcm-endpoint-redirects.https.html +++ b/testing/web-platform/tests/credential-management/fedcm-endpoint-redirects.https.html @@ -11,6 +11,7 @@ import {request_options_with_mediation_required, fedcm_test, select_manifest, mark_signed_in, + fedcm_error_dialog_dismiss, fedcm_get_dialog_type_promise, fedcm_get_and_select_first_account} from './support/fedcm-helper.sub.js'; @@ -35,7 +36,9 @@ fedcm_test(async t => { await select_manifest(t, test_options); try { - const cred = await fedcm_get_and_select_first_account(t, test_options); + const cred = fedcm_get_and_select_first_account(t, test_options); + fedcm_error_dialog_dismiss(t); + await cred; assert_unreached("An IdentityCredentialError exception should be thrown."); } catch (e) { assert_true(e instanceof DOMException); |