Bug 1844392 [wpt PR 41110] - [FedCM] Add tests for sec-fetch-{mode, site}, a=testonly
commit260bac4119c52fabfdafa290284545adff1efa46
authorChristian Biesinger <cbiesinger@chromium.org>
Fri, 21 Jul 2023 09:31:24 +0000 (21 09:31 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 22 Jul 2023 01:44:37 +0000 (22 01:44 +0000)
treeaa9c91370f35af367503897e1611ef48be813f8f
parent5a25a25bd3cd6e468e8059af79df0f54573ef736
Bug 1844392 [wpt PR 41110] - [FedCM] Add tests for sec-fetch-{mode, site}, a=testonly

Automatic update from web-platform-tests
[FedCM] Add tests for sec-fetch-{mode, site}

In the process, I found out that we set an incorrect originator --
it should be an opaque origin per the spec:
https://fedidcg.github.io/FedCM/#fetch-config-file

This difference matters because the tests actually connect to the
IDP on the same host, which would lead to a sec-fetch-site value
of `same-site`, when we actually always want it to be `cross-site`.

R=npm@chromium.org

Change-Id: If6b4f45ec948ef251ceed50077043005d537cb66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4702024
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1172446}

--

wpt-commits: d8cce53af1032350188ac4f15f0ba9294cd8f494
wpt-pr: 41110
testing/web-platform/tests/.well-known/web-identity
testing/web-platform/tests/credential-management/support/fedcm/accounts.py
testing/web-platform/tests/credential-management/support/fedcm/client_metadata.py
testing/web-platform/tests/credential-management/support/fedcm/manifest.py
testing/web-platform/tests/credential-management/support/fedcm/single_account.py
testing/web-platform/tests/credential-management/support/fedcm/token.py
testing/web-platform/tests/credential-management/support/fedcm/token_with_account_id.py
testing/web-platform/tests/credential-management/support/fedcm/two_accounts.py