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
..

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff