mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1888045 [wpt PR 45359] - [FedCM] Don't call fedcm_get_and_select_first_account when we don't expect an account chooser, a=testonly
Automatic update from web-platform-tests [FedCM] Don't call fedcm_get_and_select_first_account when we don't expect an account chooser Calling this is pointless, and also triggers a Chromedriver bug (https://crrev.com/c/5398379) R=npm@chromium.org Bug: 331237776 Change-Id: Iae58e8d15dc12851440b1a7edbfd4a579f24300b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5398800 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org> Auto-Submit: Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/main@{#1278606} -- wpt-commits: 36f3803590f92faaa7de2dfe0f32f7a6785c51d1 wpt-pr: 45359
This commit is contained in:
parent
84d5f83ee0
commit
57e6f28ca7
@ -22,7 +22,7 @@ fedcm_test(async t => {
|
|||||||
|
|
||||||
let options = request_options_with_domain_hint('manifest.py',
|
let options = request_options_with_domain_hint('manifest.py',
|
||||||
'nomatch');
|
'nomatch');
|
||||||
const cred = fedcm_get_and_select_first_account(t, options);
|
const cred = navigator.credentials.get(options);
|
||||||
// We expect a mismatch dialog.
|
// We expect a mismatch dialog.
|
||||||
const type = await fedcm_get_dialog_type_promise(t);
|
const type = await fedcm_get_dialog_type_promise(t);
|
||||||
assert_equals(type, 'ConfirmIdpLogin');
|
assert_equals(type, 'ConfirmIdpLogin');
|
||||||
|
@ -19,7 +19,7 @@ fedcm_test(async t => {
|
|||||||
await mark_signed_in();
|
await mark_signed_in();
|
||||||
|
|
||||||
let options = request_options_with_login_hint('manifest.py', 'nomatch');
|
let options = request_options_with_login_hint('manifest.py', 'nomatch');
|
||||||
const cred = fedcm_get_and_select_first_account(t, options);
|
const cred = navigator.credentials.get(options);
|
||||||
// We expect a mismatch dialog.
|
// We expect a mismatch dialog.
|
||||||
const type = await fedcm_get_dialog_type_promise(t);
|
const type = await fedcm_get_dialog_type_promise(t);
|
||||||
assert_equals(type, 'ConfirmIdpLogin');
|
assert_equals(type, 'ConfirmIdpLogin');
|
||||||
|
Loading…
Reference in New Issue
Block a user