Closed Bug 1881838 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 44756 - [FedCM] Allow button flow to replace widget flow

Categories

(Core :: DOM: Credential Management, task, P4)

task

Tracking

()

RESOLVED FIXED
125 Branch
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:

  1. If there's an in-flight button request, reject any coming widget request
  2. 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

PR 44756 applied with additional changes from upstream: 81a33691a856a09d54ed986a17be287d91b49fae
Component: web-platform-tests → DOM: Credential Management
Product: Testing → Core

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)

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)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/11d9c43ed0ab [wpt PR 44756] - [FedCM] Allow button flow to replace widget flow, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.