[wpt-sync] Sync PR 44756 - [FedCM] Allow button flow to replace widget flow
Categories
(Core :: DOM: Credential Management, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44756 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44756
Details from upstream follow.
Yi Gu <yigu@chromium.org> wrote:
[FedCM] Allow button flow to replace widget flow
Since button flow implies stronger user login intention of, it should
take precedence over the widget flow. In particular:
- If there's an in-flight button request, reject any coming widget request
- If there's an in-flight widget request, replace it with the button request
This patch also fixes an issue where we persisted the rp_mode_ after a
button flow.Bug: 41483050
Change-Id: Ic75ba4ab359a9247f4c41b75ad84f7a3cabeb0c9
Reviewed-on: https://chromium-review.googlesource.com/5321982
WPT-Export-Revision: 4e0df10cbf51c6e5e864a592e84fbfeda9f0824c
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 4 subtests
Status Summary
Firefox
TIMEOUT
: 2
NOTRUN
: 3
Chrome
TIMEOUT
: 2
NOTRUN
: 3
Safari
PASS
: 1
FAIL
: 3
ERROR
: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /credential-management/fedcm-button-mode-basics.https.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
],TIMEOUT
[GitHub
] (Chrome:TIMEOUT
, Safari:ERROR
)- Test that the button mode without user activation will fail.:
TIMEOUT
(Chrome:TIMEOUT
, Safari:FAIL
) - Test that the button mode requires user activation.:
NOTRUN
(Chrome:NOTRUN
, Safari:FAIL
) - Test that the button mode can replace widget mode.:
NOTRUN
(Chrome:NOTRUN
, Safari:FAIL
) - Test that the widget mode can succeed after the button mode.:
NOTRUN
(Chrome:NOTRUN
, Safari:PASS
)
- Test that the button mode without user activation will fail.:
Tests Disabled in Gecko Infrastructure
- /credential-management/fedcm-button-mode-basics.https.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
],TIMEOUT
[GitHub
] (Chrome:TIMEOUT
, Safari:ERROR
)
Comment 5•1 year ago
|
||
bugherder |
Description
•