Closed Bug 1837056 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 40399 - [FedCM] Add WPTs for loginHint

Categories

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

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 40399 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/40399
Details from upstream follow.

Nicolás Peña <npm@chromium.org> wrote:

[FedCM] Add WPTs for loginHint

The base::Feature needs to be enabled in order to allow the WPTs to be
run correctly. Note that the feature is still gated on the Blink
RuntimeEnabledFeature.

Bug: 1440192
Change-Id: I67a05889234451c126190c91030201dbfe5dbd60
Reviewed-on: https://chromium-review.googlesource.com/4595640
WPT-Export-Revision: 97e9790d9b9ccdf70bce26094dbb80daa88d2554

Component: web-platform-tests → DOM: Credential Management
Product: Testing → Core

CI Results

Ran 5 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 17 tests and 19 subtests

Status Summary

Firefox

OK : 4
FAIL : 28
ERROR : 13

Chrome

OK : 1
PASS : 2
TIMEOUT: 8
ERROR : 12
NOTRUN : 22

Safari

OK : 4
FAIL : 28
ERROR : 13

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /credential-management/fedcm-cross-origin-policy.https.html [wpt.fyi]: OK [GitHub], 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] (Chrome: TIMEOUT, Safari: OK)
    • Test that COEP policy do not apply to FedCM requests: FAIL (Chrome: TIMEOUT, Safari: FAIL)
  • /credential-management/fedcm-csp.https.html [wpt.fyi]: OK [GitHub], 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] (Chrome: OK, Safari: OK)
    • Provider configURL should honor Content-Security-Policy.: FAIL (Chrome: PASS, Safari: FAIL)
  • /credential-management/fedcm-iframe.https.html [wpt.fyi]: OK [GitHub], 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] (Chrome: TIMEOUT, Safari: OK)
    • FedCM disabled in cross origin iframe without permissions policy: FAIL (Chrome: PASS, Safari: FAIL)
    • FedCM enabled in 2 level deep nested iframe. FedCM should be enabled regardless of iframe nesting depth: FAIL (Chrome: TIMEOUT, Safari: FAIL)
    • FedCM disabled in 2 level deep nested iframe where middle iframe does not have permission policy: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • FedCM disabled in 2 level deep nested iframe where innermost iframe does not have permission policy: FAIL (Chrome: NOTRUN, Safari: FAIL)
  • /credential-management/fedcm-loginhint.https.html [wpt.fyi]: OK [GitHub], 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] (Chrome: TIMEOUT, Safari: OK)
    • No login hint matches an account.: FAIL (Chrome: TIMEOUT, Safari: FAIL)
    • Login hint matches an account.: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Login hint matches an account from two accounts.: FAIL (Chrome: NOTRUN, Safari: FAIL)
  • /credential-management/fedcm-multi-idp/abort-multiple-gets-through-first-idp.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-multi-idp/abort-multiple-gets-through-second-idp.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-multi-idp/get-before-and-after-onload.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-multi-idp/get-before-and-during-onload.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-multi-idp/get-before-onload-and-during-dom-content-loaded.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-multi-idp/multiple-gets-after-abort.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-multi-idp/multiple-gets-after-onload.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-multi-idp/multiple-gets-before-onload.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-multi-idp/multiple-gets-during-onload.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-multi-idp/single-get-after-onload.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-multi-idp/single-get-before-onload.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-multi-idp/single-get-during-onload.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: ERROR, Safari: ERROR)
  • /credential-management/fedcm-network-requests.https.html [wpt.fyi]: ERROR [GitHub], 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] (Chrome: TIMEOUT, Safari: ERROR)
    • Successfully obtaining token should resolve the promise.: FAIL (Chrome: TIMEOUT, Safari: FAIL)
    • When there's a pending request, a second get call should be rejected. : FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Reject when provider list is empty: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Reject when configURL is missing: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Reject when configURL is invalid: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Reject when clientId is empty: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • nonce is not required in FederatedIdentityProvider.: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Reject when clientId is missing: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test the abort signal: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Get after abort should work: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test that the promise is rejected if the manifest is not in the manifest list: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test that promise is rejected if accounts endpoint redirects: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test that token endpoint does not follow redirects: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test client_metadata request: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test that service worker cannot observe fetches performed by FedCM API: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test basic User InFo API flow: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test that User Info API only works when invoked from iframe that is same origin as the IDP: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test that User Info API does not work in the top frame: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test that the returning account from the two accounts will be auto re-authenticated.: FAIL (Chrome: NOTRUN, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bac7683d8db6 [wpt PR 40399] - [FedCM] Add WPTs for loginHint, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.