Bug 1875565 [wpt PR 44097] - [FedCM] Check response code in Error API, a=testonly
commit8977db84a51c9964d88a66b919de60a427df3006
authorYi Gu <yigu@chromium.org>
Sun, 21 Jan 2024 10:09:38 +0000 (21 10:09 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 22 Jan 2024 09:08:50 +0000 (22 09:08 +0000)
tree082d16660c4e9e68211ead5715448a86dd6df084
parentcfa88bceb5e17e30c5465e4cee6efa9bc20a1bd0
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
testing/web-platform/tests/credential-management/fedcm-endpoint-redirects.https.html