Bug 285648

Summary: Digital Credentials: pending promises should reject when the frame is destroyed
Product: WebKit Reporter: Marcos Caceres <marcosc>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
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 2025-01-08 18:07:36 PST
When a frame is destroyed, any pending promises should be queued up to be rejected. There will probably be a single promise at time, and it should be associated with the page client.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-01-15 18:08:13 PST
Marcos Caceres
Comment 2 2026-07-23 20:44:15 PDT
A destroyed frame is one way a document stops being fully active, so this is the same underlying issue as bug 317884: a pending navigator.credentials.get() request is not settled with an AbortError when its requesting document stops being fully active. That bug has a Web Platform Test (digital-credentials/get-non-fully-active.https.html) that demonstrates it.
Marcos Caceres
Comment 3 2026-07-23 20:44:31 PDT
*** This bug has been marked as a duplicate of bug 317884 ***
Note You need to log in before you can comment on or make changes to this bug.