Bug 309625

Summary: Digital Credentials: CredentialRequestCoordinator should transition to Presenting state before setting promise
Product: WebKit Reporter: Marcos Caceres <marcosc>
Component: WebCore Misc.Assignee: Marcos Caceres <marcosc>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 268516    

Marcos Caceres
Reported 2026-03-10 18:15:32 PDT
The state machine invariant "Idle ⟺ no current promise" can be violated because we set the current promise while still in Idle state. Should reorder to call setState(Presenting) before setCurrentPromise().
Attachments
Radar WebKit Bug Importer
Comment 1 2026-03-10 18:16:49 PDT
Note You need to log in before you can comment on or make changes to this bug.