Bug 305363
| Summary: | Digital Credential: CredentialRequestCoordinator can remain non-Idle if AbortSignal races with picker result | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Marcos Caceres <marcosc> |
| Component: | New Bugs | Assignee: | Marcos Caceres <marcosc> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Marcos Caceres
Calling navigator.credentials.get() and aborting the request can leave the browser thinking a credential picker is still active. Subsequent calls then fail with "InvalidStateError: A credential picker operation is already in progress", even though no picker UI is visible. This happens when a request is aborted while the picker is being shown or dismissed, and the promise settles before the picker UI has fully torn down.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Marcos Caceres
<rdar://problem/163295172>
Marcos Caceres
Pull request: https://github.com/WebKit/WebKit/pull/56489
EWS
Committed 305868@main (8a961b3ac718): <https://commits.webkit.org/305868@main>
Reviewed commits have been landed. Closing PR #56489 and removing active labels.