Closed Bug 1837476 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40455 - [FedCM] Move getUserInfo() tests to its own file

Categories

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

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

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

[FedCM] Move getUserInfo() tests to its own file

This CL moves existing getUserInfo() tests to a separate file, which
lets us not have too many tests in the same file and show coverage for
the feature more easily.

Change-Id: Ib83099ad3cce4aae971b746a087ddec682efe79b
Reviewed-on: https://chromium-review.googlesource.com/4600295
WPT-Export-Revision: 40475bbc37fb8a05e3b58d39eb4a281bc8050c92

PR 40455 applied with additional changes from upstream: 96833fde813449015c29f90a68d7d99a58960486, c966f9c87c60601dff9f30aadf26fd3eaac0cd9b
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 2 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL : 19
ERROR : 1

Chrome

FAIL : 1
TIMEOUT: 4
NOTRUN : 16

Safari

OK : 1
FAIL : 19
ERROR : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /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: FAIL, Safari: FAIL)
    • When there's a pending request, a second get call should be rejected. : FAIL (Chrome: TIMEOUT, 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 that the returning account from the two accounts will be auto re-authenticated.: FAIL (Chrome: NOTRUN, Safari: FAIL)
  • /credential-management/fedcm-userinfo.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 basic User InFo API flow: FAIL (Chrome: TIMEOUT, 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)

Tests Disabled in Gecko Infrastructure

  • /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)
  • /credential-management/fedcm-userinfo.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)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cbc55cb1ea18 [wpt PR 40455] - [FedCM] Move getUserInfo() tests to its own file, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.