Граф коммитов

218 Коммитов

Автор SHA1 Сообщение Дата
Nicolás Peña 33785a170e Bug 1890555 [wpt PR 45628] - Reland "[FedCM] Enable CORS in ID assertion endpoint", a=testonly
Automatic update from web-platform-tests
Reland "[FedCM] Enable CORS in ID assertion endpoint"

This reverts commit 4b1c288aef71451a32e057cac8413c26a665ee32.

Reason for revert: IDPs are now ready for this change

Original change's description:
> Revert "[FedCM] Enable CORS in ID assertion endpoint"
>
> This reverts commit b2cb1b55ae3c4f7b88a74a0ceb697646fde03a5b.
>
> Reason for revert: Causing issues to a real IDP
>
> Original change's description:
> > [FedCM] Enable CORS in ID assertion endpoint
> >
> > I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/gYoQJsaiD9E
> >
> > Bug: 40284123
> > Change-Id: I61989f1e7a7578c2f59d87815e3ec2b51b7fc5be
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5370086
> > Reviewed-by: Nasko Oskov <nasko@chromium.org>
> > Reviewed-by: Christian Dullweber <dullweber@chromium.org>
> > Reviewed-by: Mathias Bynens <mathias@chromium.org>
> > Commit-Queue: Nicolás Peña <npm@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#1274203}
>
> Bug: 40284123
> Change-Id: I4a518b55396d5aba676f0a15c9a515451dc11e86
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5381316
> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
> Reviewed-by: Mathias Bynens <mathias@chromium.org>
> Commit-Queue: Nicolás Peña <npm@chromium.org>
> Reviewed-by: Nasko Oskov <nasko@chromium.org>
> Reviewed-by: Christian Dullweber <dullweber@chromium.org>
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Cr-Commit-Position: refs/heads/main@{#1276213}

Bug: 40284123
Change-Id: I64c8ceb82b3f49bc41e7b592d890699db67a2c6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5440132
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Christian Dullweber <dullweber@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1284723}

--

wpt-commits: b1eacf12d9e205919a9363a179f14d6e8bc3bd71
wpt-pr: 45628
2024-04-15 08:50:47 +00:00
Christian Biesinger b4aa4f2511 Bug 1890421 [wpt PR 45613] - [FedCM] Better test disconnect, a=testonly
Automatic update from web-platform-tests
[FedCM] Better test disconnect

In particular, use the alt domain where possible, because the regular
may be considered same-origin, which triggers special behavior in
disconnect. See bug 331226129 for some discussion. In particular,
when we have cookie access (as we always do for the same origin),
disconnect does not eventually fail.

This also removes set_fedcm_cookie calls (already called by fedcm_test
for both origins) and adds mark_signed_in calls.

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

--

wpt-commits: 3776d976b20ad1dea0e68be542361173e519d7c8
wpt-pr: 45613
2024-04-15 08:50:33 +00:00
Christian Biesinger 26668ee467 Bug 1889708 [wpt PR 45551] - [FedCM] Better error handling in OnTokenRequestParsed, a=testonly
Automatic update from web-platform-tests
[FedCM] Better error handling in OnTokenRequestParsed

If parsing succeeds but there is another error, we had a couple of bugs:
- If a continue_on URL was sent but we had an HTTP error, we did
  process the URL but we should not.
- token_result.error was not set but should be. This can trigger the
  DCHECK in ClickErrorDialogGotItForDevtools.

In addition, dismiss the error dialog in
fedcm-token-returned-with-http-error so that the test doesn't time out:
https://wpt.fyi/results/credential-management/fedcm-token-returned-with-http-error.https.html?label=master&label=experimental

Bug: 331237776
Change-Id: I4db4b6afb7f8fe22ce6de4613fa528f87dcac554
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5420032
Reviewed-by: Zachary Tan <tanzachary@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1283999}

--

wpt-commits: 82ca18d82a1e27d2d802024bf23f76d3fd09d34e
wpt-pr: 45551
2024-04-15 08:50:31 +00:00
Christian Biesinger 996a75ea18 Bug 1888257 [wpt PR 45387] - [FedCM] Explicitly clear state when needed, a=testonly
Automatic update from web-platform-tests
[FedCM] Explicitly clear state when needed

The test assumes a clean state, but that's not the case on wpt.fyi:
https://wpt.fyi/results/credential-management/fedcm-auto-selected-flag.https.html?label=experimental&label=master&aligned

Try fixing that using an explicit delete_all_cookies call, which should
also clear FedCM state (AFAIK).

In addition, call set_fedcm_delay_enabled(false).
This is already the default for content_shell, but makes running tests
against chrome faster, such as when using run_wpt_tests or `wpt run`.

Bug: 331237776
Change-Id: Ic81c407c66537e17b25eff6c7eab0f74c763f790
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5403249
Commit-Queue: Yi Gu <yigu@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1279826}

--

wpt-commits: 43ea40c0e9a3d26547ca378bbc71ed0420684b5e
wpt-pr: 45387
2024-04-10 09:24:34 +00:00
Sam Goto bed89b32ef Bug 1888303 [wpt PR 45397] - [digital credential] Move IdentityRequestProvider to a separate dict, a=testonly
Automatic update from web-platform-tests
[digital credential] Move IdentityRequestProvider to a separate dict

In this CL, we further decouple the Digital Credential API [1] from
the FedCM API [2] by moving the protocol/request parameters into its
own dictionary that is only accessible by the Digital Credential API
but not from FedCM, and vice versa, so that the appropriate
parameters are parsed (or discarded) in each of these two APIs.

[1] https://wicg.github.io/digital-identities/
[2] https://fedidcg.github.io/FedCM/

Bug: 1416939
Change-Id: I322bcac9fb38eb52e3466162753e000146d652fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5386528
Reviewed-by: Emily Stark <estark@chromium.org>
Commit-Queue: Sam Goto <goto@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1279609}

--

wpt-commits: 3bfcd2d3f1d691fe9ae88bcf9db5d0eef0c71715
wpt-pr: 45397
2024-04-08 07:54:59 +00:00
Christian Biesinger ff086471c9 Bug 1888258 [wpt PR 45388] - [FedCM] Always notify opener that we're done loading, a=testonly
Automatic update from web-platform-tests
[FedCM] Always notify opener that we're done loading

If FencedFrameConfig does not exist, we never send the
message to the opener.
That leads to a test timeout, which is unfortunate.

Instead, rearrange this code so that we always add the onload listener.

Noticed this while running
credential-management/fedcm-login-status/cross-origin-status.https.html

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

--

wpt-commits: b313ed0b09d7b7aca6132707ff8fbec4a0e08890
wpt-pr: 45388
2024-04-08 07:54:49 +00:00
Christian Biesinger 57e6f28ca7 Bug 1888045 [wpt PR 45359] - [FedCM] Don't call fedcm_get_and_select_first_account when we don't expect an account chooser, a=testonly
Automatic update from web-platform-tests
[FedCM] Don't call fedcm_get_and_select_first_account when we don't expect an account chooser

Calling this is pointless, and also triggers a Chromedriver bug
(https://crrev.com/c/5398379)

R=npm@chromium.org

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

--

wpt-commits: 36f3803590f92faaa7de2dfe0f32f7a6785c51d1
wpt-pr: 45359
2024-03-28 14:10:27 +00:00
Christian Biesinger cfc61fe5b1 Bug 1888043 [wpt PR 45347] - [FedCM] Don't use fedcm_get_and_select_first_account, a=testonly
Automatic update from web-platform-tests
[FedCM] Don't use fedcm_get_and_select_first_account

We are expecting a mismatch dialog here, so selecting an account
is not necessary.

R=npm@chromium.org

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

--

wpt-commits: 6f346b0df5fc952747841fd76d11b3c4d24e5c8d
wpt-pr: 45347
2024-03-28 14:10:25 +00:00
Christian Biesinger c8b8aad906 Bug 1887944 [wpt PR 45323] - [FedCM] Normalize origins, a=testonly
Automatic update from web-platform-tests
[FedCM] Normalize origins

In particular, on wpt.live, "origin" includes a default port of :443
but event.origin does not. Roundtrip both through new URL() so that
they get normalized the same way.

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

--

wpt-commits: c5dbf3e68662f2a9aa1a9c0c39cea6ea5e161cb2
wpt-pr: 45323
2024-03-28 14:10:02 +00:00
Christian Biesinger d2a7a5563d Bug 1887934 [wpt PR 45324] - [FedCM] Fix the implementation of test_driver.get_fedcm_dialog_title, a=testonly
Automatic update from web-platform-tests
[FedCM] Fix the implementation of test_driver.get_fedcm_dialog_title

It is supposed to return a dictionary:
https://fedidcg.github.io/FedCM/#webdriver-gettitle

This was causing the test to fail when run against "real"
webdriver:
https://wpt.fyi/results/credential-management/fedcm-context.https.html?label=experimental&label=master

R=npm@chromium.org

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

--

wpt-commits: 0b28e4bde3cfeb40276ff6dca5b0f65e38b46315
wpt-pr: 45324
2024-03-28 14:10:01 +00:00
Christian Biesinger d61310d573 Bug 1887933 [wpt PR 45325] - [FedCM] Close the popup window after setting cookie, a=testonly
Automatic update from web-platform-tests
[FedCM] Close the popup window after setting cookie

This is a bit nicer when running the tests manually.

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

--

wpt-commits: 8882ec770f1a84c1c85ae46d467b63a2f4b6745e
wpt-pr: 45325
2024-03-28 14:10:01 +00:00
Nicolás Peña a5bb134510 Bug 1886782 [wpt PR 45252] - Revert "[FedCM] Enable CORS in ID assertion endpoint", a=testonly
Automatic update from web-platform-tests
Revert "[FedCM] Enable CORS in ID assertion endpoint"

This reverts commit b2cb1b55ae3c4f7b88a74a0ceb697646fde03a5b.

Reason for revert: Causing issues to a real IDP

Original change's description:
> [FedCM] Enable CORS in ID assertion endpoint
>
> I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/gYoQJsaiD9E
>
> Bug: 40284123
> Change-Id: I61989f1e7a7578c2f59d87815e3ec2b51b7fc5be
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5370086
> Reviewed-by: Nasko Oskov <nasko@chromium.org>
> Reviewed-by: Christian Dullweber <dullweber@chromium.org>
> Reviewed-by: Mathias Bynens <mathias@chromium.org>
> Commit-Queue: Nicolás Peña <npm@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1274203}

Bug: 40284123
Change-Id: I4a518b55396d5aba676f0a15c9a515451dc11e86
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5381316
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Reviewed-by: Christian Dullweber <dullweber@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1276213}

--

wpt-commits: fec79bd047f7e3c1f83120f0b27ffe10521c13d3
wpt-pr: 45252
2024-03-27 10:29:56 +00:00
Peter Kotwicz 34b14307cc Bug 1886584 [wpt PR 45225] - Improve error message when navigator.identity.digital.providers == [], a=testonly
Automatic update from web-platform-tests
Improve error message when navigator.identity.digital.providers == []

This CL improves the error message when
navigator.identity.digital.providers == []

BUG=330560074

Change-Id: I69c5401133e12ed01e6d2ae97645ad0d832c699f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5383607
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1275783}

--

wpt-commits: be17b15543820053c3493e570709ab5504936939
wpt-pr: 45225
2024-03-22 17:34:37 +00:00
Peter Kotwicz 0095e59b98 Bug 1884833 [wpt PR 45033] - Disable digital credential API when called from cross-origin <iframe>, a=testonly
Automatic update from web-platform-tests
Disable digital credential API when called from cross-origin <iframe>

BUG=325425533

Change-Id: Ib6032b35175072883afaff4806cf5b1e59a5429a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5363035
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1275627}

--

wpt-commits: 0d0b0cb4329ca824575f2b0e8ea9a15eca99322c
wpt-pr: 45033
2024-03-22 17:34:30 +00:00
Christian Biesinger 1f8e0534c4 Bug 1886050 [wpt PR 45184] - [FedCM] Allow specifying an account ID in IdentityProvider.resolve, a=testonly
Automatic update from web-platform-tests
[FedCM] Allow specifying an account ID in IdentityProvider.resolve

Syntax:
IdentityProvider.resolve("some_token", {"accountId": "some_id"});

The account ID is optional and will default to whichever account
the user selected.

Bug: 329477527
Change-Id: Idca4640e67b32c1d5fd103cc26460e595f49e2d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5374870
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1275140}

--

wpt-commits: f7f5016948c166342371b68dbf0e2c7c72463c62
wpt-pr: 45184
2024-03-22 17:34:07 +00:00
Nicolás Peña f7389f1ffe Bug 1885390 [wpt PR 45107] - [FedCM] Enable CORS in ID assertion endpoint, a=testonly
Automatic update from web-platform-tests
[FedCM] Enable CORS in ID assertion endpoint

I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/gYoQJsaiD9E

Bug: 40284123
Change-Id: I61989f1e7a7578c2f59d87815e3ec2b51b7fc5be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5370086
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Reviewed-by: Christian Dullweber <dullweber@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1274203}

--

wpt-commits: ee52bda38ec54dd2b716db81963cae68d7f89c80
wpt-pr: 45107
2024-03-21 08:36:29 +00:00
Christian Biesinger fef2812080 Bug 1885416 [wpt PR 45112] - [FedCM] Don't allow popups for mediation:silent or without user gesture, a=testonly
Automatic update from web-platform-tests
[FedCM] Don't allow popups for mediation:silent or without user gesture

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

--

wpt-commits: 49f8dd46e97dc0c731fdb367f888b28a32f630a8
wpt-pr: 45112
2024-03-21 08:36:10 +00:00
Christian Biesinger 28eadcca9c Bug 1885025 [wpt PR 45066] - [FedCM] Don't send SameSite=Strict cookies for FedCM requests, a=testonly
Automatic update from web-platform-tests
[FedCM] Don't send SameSite=Strict cookies for FedCM requests

See https://github.com/fedidcg/FedCM/issues/320#issuecomment-1992358452

This is behind the off-by-default "FedCmSameSiteNone" feature.

Bug: 329145816
Change-Id: I6408255a01118cd5ac4d0d0263a34051796dc301
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5366009
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1273426}

--

wpt-commits: 08c2f13fa0d6bf961ab2e80b0db0a958ef991ee9
wpt-pr: 45066
2024-03-21 08:36:10 +00:00
Peter Kotwicz db8642c61f Bug 1884828 [wpt PR 45008] - [RWI] Make navigator.identity.get() return DigitalCredential object, a=testonly
Automatic update from web-platform-tests
[RWI] Make navigator.identity.get() return DigitalCredential object

This change is documented in this spec
https://wicg.github.io/digital-identities/

BUG=328691361

Change-Id: I40fc6fb01ebad2db6cdb9cddd27003767949fb9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5353751
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1271108}

--

wpt-commits: 583a35fd066c46ab7ad2418a843d622f4b43c592
wpt-pr: 45008
2024-03-14 08:39:47 +00:00
Yi Gu 6394c48e0d Bug 1884794 [wpt PR 44994] - [FedCM] Split button flow web tests into multiple files, a=testonly
Automatic update from web-platform-tests
[FedCM] Split button flow web tests into multiple files

The basic tests file would grow with more tests coming so it makes sense
to split some into a new file. In addition, this helps with debugging
new flaky tests.

Bug: 328129675, 41489720
Change-Id: Ie3cde046b3e13febdb3d57bf8cce7567ddb530dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5352771
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Auto-Submit: Yi Gu <yigu@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1270323}

--

wpt-commits: 92088377f8a8f322333f5ca2efc6f077e5bedeb6
wpt-pr: 44994
2024-03-14 08:39:28 +00:00
Nicolás Peña cc0b836208 Bug 1884698 [wpt PR 44992] - [FedCM] Fix new_account_idp setup, a=testonly
Automatic update from web-platform-tests
[FedCM] Fix new_account_idp setup

We should only set the variable when we know there are new accounts, so
that the UI code can safely assume that when there is a new_account_idp,
then there are accounts in such variable.

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

--

wpt-commits: 85e057d42728b4ecf2c3f660b96e46e836004db5
wpt-pr: 44992
2024-03-14 08:39:27 +00:00
Peter Kotwicz 66d5e6c9b6 Bug 1881822 [wpt PR 44752] - Add Web-Platform-Tests for Real-World-Identity part 2/2, a=testonly
Automatic update from web-platform-tests
Add Web-Platform-Tests for Real-World-Identity part 2/2

BUG=326503088

Change-Id: I0a2243da30719590522f86ba3b02f92d1542dd91
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5321979
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1270250}

--

wpt-commits: 70c44a6c34c3fdd077bcc120eeca60babfea30cb
wpt-pr: 44752
2024-03-14 08:39:25 +00:00
Christian Biesinger 7ce61e321d Bug 1883545 [wpt PR 44923] - [FedCM] Add a webdriver command for the "Use Other Account" button, a=testonly
Automatic update from web-platform-tests
[FedCM] Add a webdriver command for the "Use Other Account" button

Bug: 327458808
Change-Id: Ia9c575f61772588efbaa72943115de250c225433
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5341752
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1268650}

--

wpt-commits: 43f7c2c9b3353d526ceb65f263dcfa2be47e5d64
wpt-pr: 44923
2024-03-14 08:38:25 +00:00
Nicolás Peña beabcc898a Bug 1882620 [wpt PR 44838] - [FedCM] Add CORS support in WPTs as well as a no CORS test, a=testonly
Automatic update from web-platform-tests
[FedCM] Add CORS support in WPTs as well as a no CORS test

The no CORS test fails right now but will pass once the CORS flag is
enabled by default

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

--

wpt-commits: a0038b4dd3636b518fe268ba097a92b9ad558842
wpt-pr: 44838
2024-03-04 09:26:55 +00:00
Yi Gu c289ed5d22 Bug 1882131 [wpt PR 44790] - [FedCM] Handle "unknown" login status in the button flow for single IdP, a=testonly
Automatic update from web-platform-tests
[FedCM] Handle "unknown" login status in the button flow for single IdP

If the LoginStatus is unknown, in button flow we show the pop-up window
directly instead of failing silently.

Bug: 40284801
Change-Id: Idaf1bb4526e5dd13b889e66bd25d5e0c11ca755e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5324620
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1266248}

--

wpt-commits: 17a755e2bbdb59670ce9937ad8b38d90a835dec4
wpt-pr: 44790
2024-03-04 09:26:42 +00:00
Yi Gu 9db2633006 Bug 1882390 [wpt PR 44814] - Reland "[FedCM] Allow button flow to replace widget flow", a=testonly
Automatic update from web-platform-tests
Reland "[FedCM] Allow button flow to replace widget flow"

This reverts commit b57a0adddbd8aaa68fb06cd5cfd24a33296728ea.

Reason for revert: Fixed test in patchset 2

Original change's description:
> Revert "[FedCM] Allow button flow to replace widget flow"
>
> This reverts commit a2783105732c27a57dd0c3e1100730cc4aec32e0.
>
> Reason for revert: Suspected of causing failures on WebKit Linux Leak: https://ci.chromium.org/ui/p/chromium/builders/ci/WebKit%20Linux%20Leak/60801/overview (and other runs since)
>
> Original change's description:
> > [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/c/chromium/src/+/5321982
> > Commit-Queue: Yi Gu <yigu@chromium.org>
> > Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#1265238}
>
> Bug: 41483050
> Change-Id: I82728a8ea02194f46eed086015473975a4017dc4
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5317868
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
> Reviewed-by: Yi Gu <yigu@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1265306}

Bug: 41483050
Change-Id: I600b03200b95e4f5112f2a1ae45a4c8675ce7b28
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5327886
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265980}

--

wpt-commits: ba496206ef50b03c72400fb0d8bac67aad190b9b
wpt-pr: 44814
2024-03-04 09:26:27 +00:00
Yi Gu 159073c8f6 Bug 1882166 [wpt PR 44793] - [FedCM] Fix dom exception type for TooManyRequests, a=testonly
Automatic update from web-platform-tests
[FedCM] Fix dom exception type for TooManyRequests

We have the right type in web_identity_requester.cc but not in these two
files.

Bug: None
Change-Id: Iadf6c6ef6cf7fcdfdc69e8abc660d201100918a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5323347
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265498}

--

wpt-commits: 2a9fa3b5e2a898141a6373804b2b6e6f1c15957f
wpt-pr: 44793
2024-03-01 20:10:29 +00:00
Stephen McGruer 0659def0cb Bug 1882146 [wpt PR 44791] - Revert "[FedCM] Allow button flow to replace widget flow", a=testonly
Automatic update from web-platform-tests
Revert "[FedCM] Allow button flow to replace widget flow"

This reverts commit a2783105732c27a57dd0c3e1100730cc4aec32e0.

Reason for revert: Suspected of causing failures on WebKit Linux Leak: https://ci.chromium.org/ui/p/chromium/builders/ci/WebKit%20Linux%20Leak/60801/overview (and other runs since)

Original change's description:
> [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/c/chromium/src/+/5321982
> Commit-Queue: Yi Gu <yigu@chromium.org>
> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1265238}

Bug: 41483050
Change-Id: I82728a8ea02194f46eed086015473975a4017dc4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5317868
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265306}

--

wpt-commits: 4e124bd215d00032c69d87b499d4e04fa97595b3
wpt-pr: 44791
2024-03-01 20:10:24 +00:00
Yi Gu 85f5e8180e Bug 1881838 [wpt PR 44756] - [FedCM] Allow button flow to replace widget flow, a=testonly
Automatic update from web-platform-tests
[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/c/chromium/src/+/5321982
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265238}

--

wpt-commits: a814608dab5f5df554bdc1f32468fcb67b92f621
wpt-pr: 44756
2024-03-01 20:10:18 +00:00
Yi Gu 84410d5adf Bug 1881246 [wpt PR 44704] - [FedCM] Add `mode` to the POST request sent to the ID assertion endpoint, a=testonly
Automatic update from web-platform-tests
[FedCM] Add `mode` to the POST request sent to the ID assertion endpoint

This patch also adds some basic wpt tests for the button flow.

Bug: 326091153
Change-Id: I5df924a3f82bb45b27e8ff580037433b7585af88
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5310541
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1263621}

--

wpt-commits: 81a33691a856a09d54ed986a17be287d91b49fae
wpt-pr: 44704
2024-02-27 08:15:36 +00:00
Christian Biesinger bffa728855 Bug 1877818 [wpt PR 44330] - [FedCM] Grant sharing permission in Resolve, a=testonly
Automatic update from web-platform-tests
[FedCM] Grant sharing permission in Resolve

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

--

wpt-commits: e76d5befe6ca289a534706d5b2b133ea005778f2
wpt-pr: 44330
2024-02-05 09:00:03 +00:00
Christian Biesinger 3d8daeab0e Bug 1876177 [wpt PR 44153] - [FedCM] Add a WPT test for authz, a=testonly
Automatic update from web-platform-tests
[FedCM] Add a WPT test for authz

Unlike the browsertest equivalent, this WPT test
tests the full stack.

Fixed: 1489239
Change-Id: Ie54e4c70b00fa706e575030e07295fc0157a2072
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5229982
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1251547}

--

wpt-commits: ac9206dbfacda9de2163dabbc8e5fde272661a80
wpt-pr: 44153
2024-01-28 09:59:22 +00:00
Yi Gu 8977db84a5 Bug 1875565 [wpt PR 44097] - [FedCM] Check response code in Error API, a=testonly
Automatic update from web-platform-tests
[FedCM] Check response code in Error API

If an IdP returns unparsable response in the id assertion endpoint,
currently we treat it as a server error. Rather, we should only proceed
with server error if the response code is 500 or the IdP explicitly
uses "server_error" in the Error API.

Bug: 1519671
Change-Id: Ia671c25fdfc17763418b0ea29004137f2413e700
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5214925
Auto-Submit: Yi Gu <yigu@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: Zachary Tan <tanzachary@chromium.org>
Commit-Queue: Zachary Tan <tanzachary@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1249557}

--

wpt-commits: 0ab8387901f7ea14a42ae6d740b8904b0bf1f499
wpt-pr: 44097
2024-01-22 09:08:50 +00:00
Christian Biesinger a6b99cd6ee Bug 1875178 [wpt PR 44055] - [FedCM] Allow setting login status from a same-site request, a=testonly
Automatic update from web-platform-tests
[FedCM] Allow setting login status from a same-site request

This relaxes the same-origin requirement to same-site for processing
the login status header. This is useful for IDPs who process IDP
logins on a different host than the FedCM endpoint.

This is behind a default-enabled flag so we can easily disable this
in case of issues.

The virtual test suite explicitly enables the flag so that the test
will keep working in case the flag has to be turned off.

Approved by Security & Privacy in
https://docs.google.com/document/d/1vZiEh4Q45gleW0lmtfgxMflqarMkcTk0Itwoo6724Vo/edit?resourcekey=0-WjqaM1SrhAoFbhmGNyyyJA&tab=t.0

Bug: 1516640
Change-Id: I8825e66b43d7d3a6fae7db2447281502fb8015c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5207174
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1249349}

--

wpt-commits: 1e3137a4b3451ddecc15e26193add733bc49d4ff
wpt-pr: 44055
2024-01-22 09:08:42 +00:00
Christian Biesinger 175a92fb85 Bug 1873561 [wpt PR 43888] - [FedCM] Enable FedCmSkipWellKnownForSameSite by default, a=testonly
Automatic update from web-platform-tests
[FedCM] Enable FedCmSkipWellKnownForSameSite by default

This skips the .well-known/web-identity checks if the RP and
IDP are in the same eTLD+1.

Approved by security and privacy in:
https://docs.google.com/document/d/1zTJVmW-zAm-pFeLIGV0IhInXVlLwSh9rz08E5QVy4NA/edit?resourcekey=0-LGYUJlxuj15i4phyz46nvQ

Bug: 1511767
Change-Id: I44ee15feb11354c4b58bfab74e69b7d4af97da87
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5177812
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1244800}

--

wpt-commits: 0d986788e53b7903b2b7e35444ad85ac06923537
wpt-pr: 43888
2024-01-11 08:49:18 +00:00
Zachary Tan 57795f2ab2 Bug 1871056 [wpt PR 43750] - [FedCM] Add more WPT tests for error API, a=testonly
Automatic update from web-platform-tests
[FedCM] Add more WPT tests for error API

These tests make use of the newly repurposed webdriver command to click
on buttons in the FedCM error dialog.

Bug: 1496474
Change-Id: I8cdbd271c73d123dd47f62d943148b604412f08a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5021410
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Zachary Tan <tanzachary@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1239840}

--

wpt-commits: c84ca70108c0e0b26b731f16a4c2789040db66e4
wpt-pr: 43750
2024-01-05 10:11:53 +00:00
Nicolás Peña 471f3b469f Bug 1870928 [wpt PR 43735] - [FedCM] Add a couple of disconnect failure WPTs, a=testonly
Automatic update from web-platform-tests
[FedCM] Add a couple of disconnect failure WPTs

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

--

wpt-commits: cb5696c95d796c2db8cc1f6cabe2d2db5d85959c
wpt-pr: 43735
2024-01-05 10:11:39 +00:00
Nicolás Peña 0496e28616 Bug 1870862 [wpt PR 43727] - [FedCM] Add a WPT for too many disconnect() calls, a=testonly
Automatic update from web-platform-tests
[FedCM] Add a WPT for too many disconnect() calls

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

--

wpt-commits: 7bc216ee58ac36ac134da236c2e8ad82ae88fcda
wpt-pr: 43727
2024-01-05 10:11:37 +00:00
Cristian Tuns f170bc26fd Backed out 31 changesets (bug 1870828, bug 1870926, bug 1867007, bug 1868487, bug 1869839, bug 1871018, bug 1868257, bug 1870989, bug 1870865, bug 1871064, bug 1871068, bug 1866572, bug 1870583, bug 1871056, bug 1871157, bug 1870928, bug 1870862, bug 1870917, bug 1870169, bug 1871435, bug 1871116, bug 1868860, bug 1871033, bug 1870853, bug 1870242, bug 1871221) for causing wpt failures in response.window.html CLOSED TREE
Backed out changeset 92be049c286b (bug 1871435)
Backed out changeset d7cbc85fba14 (bug 1871157)
Backed out changeset 98d1490d106a (bug 1871068)
Backed out changeset a65309250883 (bug 1871221)
Backed out changeset 691e2ee7a1d6 (bug 1871221)
Backed out changeset 0acb6188b340 (bug 1871116)
Backed out changeset f62ac12304eb (bug 1871056)
Backed out changeset e68772ddb362 (bug 1866572)
Backed out changeset bf87d67abfd1 (bug 1866572)
Backed out changeset 5f00f3963161 (bug 1868487)
Backed out changeset 8d9d6ce68da3 (bug 1867007)
Backed out changeset 48d31b069193 (bug 1871033)
Backed out changeset b50bc724363b (bug 1870583)
Backed out changeset 53c7febe6a53 (bug 1871064)
Backed out changeset 74e7b948c982 (bug 1870926)
Backed out changeset e6889a386092 (bug 1870242)
Backed out changeset 9d88a0be7091 (bug 1871018)
Backed out changeset a6094f64dd2f (bug 1870853)
Backed out changeset 413db6b063f7 (bug 1870989)
Backed out changeset 692913c58eff (bug 1870169)
Backed out changeset f50d4c8167b1 (bug 1870917)
Backed out changeset 70d148bf0cc6 (bug 1869839)
Backed out changeset a025c543027d (bug 1869839)
Backed out changeset ac3ba3630ab8 (bug 1870865)
Backed out changeset 754a71449f70 (bug 1870928)
Backed out changeset f97377cbe8dd (bug 1870828)
Backed out changeset 0caaefd5cced (bug 1870862)
Backed out changeset 9bea3d15feff (bug 1868860)
Backed out changeset a1e4de8395df (bug 1868860)
Backed out changeset 6ebb389d954c (bug 1868257)
Backed out changeset 6615c43b36e4 (bug 1868257)
2023-12-24 02:22:48 -05:00
Zachary Tan 1a51ef45d1 Bug 1871056 [wpt PR 43750] - [FedCM] Add more WPT tests for error API, a=testonly
Automatic update from web-platform-tests
[FedCM] Add more WPT tests for error API

These tests make use of the newly repurposed webdriver command to click
on buttons in the FedCM error dialog.

Bug: 1496474
Change-Id: I8cdbd271c73d123dd47f62d943148b604412f08a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5021410
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Zachary Tan <tanzachary@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1239840}

--

wpt-commits: c84ca70108c0e0b26b731f16a4c2789040db66e4
wpt-pr: 43750
2023-12-23 18:04:19 +00:00
Nicolás Peña 619a84a2a5 Bug 1870928 [wpt PR 43735] - [FedCM] Add a couple of disconnect failure WPTs, a=testonly
Automatic update from web-platform-tests
[FedCM] Add a couple of disconnect failure WPTs

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

--

wpt-commits: cb5696c95d796c2db8cc1f6cabe2d2db5d85959c
wpt-pr: 43735
2023-12-23 18:04:07 +00:00
Nicolás Peña 9b3f87cb6b Bug 1870862 [wpt PR 43727] - [FedCM] Add a WPT for too many disconnect() calls, a=testonly
Automatic update from web-platform-tests
[FedCM] Add a WPT for too many disconnect() calls

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

--

wpt-commits: 7bc216ee58ac36ac134da236c2e8ad82ae88fcda
wpt-pr: 43727
2023-12-23 18:04:06 +00:00
Nicolás Peña d0e16287c7 Bug 1869395 [wpt PR 43606] - [FedCM] Add test for auto reauthentication approved client failure, a=testonly
Automatic update from web-platform-tests
[FedCM] Add test for auto reauthentication approved client failure

Adds a test where there is a returning user, but auto reauthentication
fails because approved_clients is present but does not contain the
client ID.

Bug: 1510583
Change-Id: I9801424ee343cc55ad22b96815478fdc90ffe01f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5110442
Commit-Queue: Nicolás Peña <npm@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Auto-Submit: Nicolás Peña <npm@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1236003}

--

wpt-commits: da76d400793d6eabd61ec0c8b70bb780c2d19fde
wpt-pr: 43606
2023-12-14 09:32:33 +00:00
Nicolás Peña 454008347e Bug 1868892 [wpt PR 43567] - [FedCM] Make accountHint required, a=testonly
Automatic update from web-platform-tests
[FedCM] Make accountHint required

Also change the error thrown when clientId or configURL are not
present in the disconnect() method. They cannot be marked as required
in the IDL due to prototypes which assume that they are optional.

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

--

wpt-commits: c41d8c520683379b1fbf99cbce610fe80f63988e
wpt-pr: 43567
2023-12-14 09:32:02 +00:00
Nicolás Peña 26423d3f21 Bug 1868230 [wpt PR 43503] - [FedCM] Do not crash for pending disconnect/getUserInfo, a=testonly
Automatic update from web-platform-tests
[FedCM] Do not crash for pending disconnect/getUserInfo

If the FederatedAuthRequestImpl is invoked and there are pending
requests, the destructor will clear out the FederatedAuthRequestImpl
members. This will in turn invoke the members' destructors, which then
complete their requests. However, to do so they run the completion
callback which is currently expecting the members to be present. This
CL fixes this by removing that expectation, and adding WPTs that would
have crashed in Chrome before this CL.

Bug: 1504569
Change-Id: I3327398740ee641d43a2a4b93420ac8ff56ae8fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5085229
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1234701}

--

wpt-commits: 29cdefab41a941e0fce230c5475ee1459a390a02
wpt-pr: 43503
2023-12-14 09:31:59 +00:00
Nicolás Peña e420d5db42 Bug 1866323 [wpt PR 43328] - [FedCM] Check that clientId is passed to disconnect(), a=testonly
Automatic update from web-platform-tests
[FedCM] Check that clientId is passed to disconnect()

Bug: 1473134
Change-Id: Ie5484d6966f75339318bba84ff62320e783c8a6a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5057596
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1228595}

--

wpt-commits: 2768b4c24f1492c660eb6164eeec88c35d841f4d
wpt-pr: 43328
2023-11-29 09:18:03 +00:00
Nicolás Peña e7d46ac37e Bug 1865899 [wpt PR 43292] - [FedCM] Rename revoke to disconnect, a=testonly
Automatic update from web-platform-tests
[FedCM] Rename revoke to disconnect

The feature has not shipped yet so it is OK to rename metrics.

DanglingUntriaged-notes: this CL is just a rename...

Bug: 1473134
Change-Id: I8616fd8b68ab2255897f0cb8b1486d9e17eac5cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5049262
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Robert Kaplow <rkaplow@chromium.org>
Reviewed-by: Brendon Tiszka <tiszka@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1228089}

--

wpt-commits: 0173c88f3b50f33b6f849fc525f6606536261023
wpt-pr: 43292
2023-11-29 09:17:51 +00:00
Nicolás Peña f50646a476 Bug 1865944 [wpt PR 43297] - [FedCM] Rename wildcard to 'any', a=testonly
Automatic update from web-platform-tests
[FedCM] Rename wildcard to 'any'

Bug: 1440178
Change-Id: Ib6544747e6000b4ce45e6252d7288635c040046f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5049408
Reviewed-by: Yi Gu <yigu@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Auto-Submit: Nicolás Peña <npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1227658}

--

wpt-commits: dbf866ba9c9d397174e318e698671736b2490e3c
wpt-pr: 43297
2023-11-27 11:02:45 +00:00
Nicolás Peña e8a47e6f77 Bug 1865718 [wpt PR 43264] - [FedCM] Allow revoke to be invoked with identity-credentials-get, a=testonly
Automatic update from web-platform-tests
[FedCM] Allow revoke to be invoked with identity-credentials-get

Bug: 1473134
Change-Id: Icafb06c19136f18add3060f1e787595b8cddec52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5046970
Reviewed-by: Yi Gu <yigu@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1227038}

--

wpt-commits: 0fafa63732b615bb1b1770a5b878a5cce0ef8873
wpt-pr: 43264
2023-11-27 11:02:31 +00:00
Cristian Tuns f030995a79 Backed out 46 changesets (bug 1865912, bug 1865927, bug 1865071, bug 1865839, bug 1865237, bug 1865718, bug 1863796, bug 1865834, bug 1865970, bug 1864254, bug 1865836, bug 1865688, bug 1865971, bug 1865493, bug 1865669, bug 1865944, bug 1865923, bug 1865682, bug 1865832, bug 1864024, bug 1865833, bug 1865842, bug 1865646, bug 1865579, bug 1865434, bug 1864668, bug 1865584, bug 1865949, bug 1865553, bug 1864854, bug 1865925, bug 1865583, bug 1865580, bug 1865710, bug 1865350, bug 1861916, bug 1866167, bug 1864974) for causing spidermonkey bustages CLOSED TREE
Backed out changeset ad2b795a9673 (bug 1866167)
Backed out changeset 13c3b89d46a1 (bug 1865493)
Backed out changeset 0b8a192c86dd (bug 1865710)
Backed out changeset 34d8be43d499 (bug 1865710)
Backed out changeset 0c2c70f08fbd (bug 1865682)
Backed out changeset 5169fcfa8eb1 (bug 1865970)
Backed out changeset 3f63cadb2833 (bug 1865970)
Backed out changeset 9fd6d2a6b37f (bug 1865580)
Backed out changeset 068b13d20196 (bug 1865971)
Backed out changeset 4e0693e5004d (bug 1865927)
Backed out changeset 65d55564d9b0 (bug 1865944)
Backed out changeset a5db7fec6191 (bug 1865839)
Backed out changeset 63e2eb76a2d9 (bug 1865949)
Backed out changeset 089c9ff07e2c (bug 1865949)
Backed out changeset f8600f5d3042 (bug 1863796)
Backed out changeset 01a392e09086 (bug 1865925)
Backed out changeset 063701177178 (bug 1865925)
Backed out changeset d7eeced2bfc2 (bug 1865923)
Backed out changeset 908353fcd77a (bug 1864024)
Backed out changeset 689dc8f59170 (bug 1865833)
Backed out changeset ae8a62684da1 (bug 1865912)
Backed out changeset fe2a1f5bdede (bug 1865836)
Backed out changeset 0c5abf61eb5d (bug 1861916)
Backed out changeset dc734ec7bc4c (bug 1865834)
Backed out changeset 885f28ce268b (bug 1865832)
Backed out changeset cc44cba25d26 (bug 1865688)
Backed out changeset f61f29bf4c20 (bug 1865688)
Backed out changeset 41f5e9dc6f0d (bug 1864254)
Backed out changeset ebfe21c74b26 (bug 1865669)
Backed out changeset 2437c617bab8 (bug 1865842)
Backed out changeset 5f41ad3dd5e1 (bug 1865237)
Backed out changeset 79dbf3617ce0 (bug 1865718)
Backed out changeset 568352d0a2ff (bug 1864668)
Backed out changeset 3c7ad6296746 (bug 1864668)
Backed out changeset 4f74ba1f19f8 (bug 1864974)
Backed out changeset 4d84781b455f (bug 1864974)
Backed out changeset ab2957a63b2e (bug 1865350)
Backed out changeset 6aa5e5495aca (bug 1865071)
Backed out changeset 7ef4b57bdd00 (bug 1865071)
Backed out changeset c5dd2e851c3b (bug 1865646)
Backed out changeset 9c5b79e59b12 (bug 1864854)
Backed out changeset 77e394fcfa0d (bug 1865553)
Backed out changeset ba9ff978db56 (bug 1865579)
Backed out changeset e6302088b606 (bug 1865584)
Backed out changeset 410ccdb7471e (bug 1865434)
Backed out changeset 1d6e55d56f5a (bug 1865583)
2023-11-26 13:32:53 -05:00