[wpt-sync] Sync PR 47152 - [FedCM] Handle mediation: optional/silent in button mode
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox130 fixed)
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47152 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47152
Details from upstream follow.
Yi Gu <yigu@chromium.org> wrote:
[FedCM] Handle mediation: optional/silent in button mode
This patch handles the two mediation as follows:
- Triggers auto re-authentication (auto account selection) where
applicable withoptional.- Rejects the promise when
silentis used in button modeBug: 329235198
Change-Id: I71d35ea673266a6e1876f4d6493c8c0cd69a3c2b
Reviewed-on: https://chromium-review.googlesource.com/5710375
WPT-Export-Revision: 8cfadba70953eeeee253a7506c728a28a0f6badd
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 3 subtests
Status Summary
Firefox
OK : 2
PASS : 1
FAIL : 3
TIMEOUT: 2[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] 4[GitHub]
NOTRUN : 2
Chrome
TIMEOUT: 4
NOTRUN : 2
Safari
OK : 2
PASS : 1
FAIL : 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /fedcm/fedcm-button-and-other-account/fedcm-button-mode-auto-selected-flag.tentative.https.html [wpt.fyi]:
OK[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],TIMEOUT[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,GitHub] (Chrome:TIMEOUT, Safari:OK)- Test that the auto selected flag can be true in button mode.:
FAIL[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],TIMEOUT[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,GitHub] (Chrome:TIMEOUT, Safari:FAIL)
- Test that the auto selected flag can be true in button mode.:
- /fedcm/fedcm-button-and-other-account/fedcm-button-mode-basics.tentative.https.html [wpt.fyi]:
OK[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],SKIP[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:OK)- Test that the button mode without user activation will fail.:
FAIL[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],TIMEOUT[GitHub] (Chrome:TIMEOUT, Safari:FAIL) - Test that the button mode succeeds with user activation.:
FAIL[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],NOTRUN[GitHub] (Chrome:NOTRUN, Safari:FAIL) - Test that the mediation:silent is not supported in button mode.:
NOTRUN[GitHub],PASS[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] (Chrome:NOTRUN, Safari:PASS)
- Test that the button mode without user activation will fail.:
Tests Disabled in Gecko Infrastructure
- /fedcm/fedcm-button-and-other-account/fedcm-button-mode-basics.tentative.https.html [wpt.fyi]:
OK[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],SKIP[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:OK)
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/18f09dba0fb0
https://hg.mozilla.org/mozilla-central/rev/94fd9c912578
Description
•