NEW318323
Digital Credentials: Drain virtual wallet behavior and pending handler maps on document or page destruction
https://bugs.webkit.org/show_bug.cgi?id=318323
Summary Digital Credentials: Drain virtual wallet behavior and pending handler maps o...
Marcos Caceres
Reported 2026-07-01 02:19:24 PDT
The WebDriver BiDi digitalCredentials agent stores per-context virtual wallet behaviors and parked "wait" completion handlers, but those maps are only cleared when the automation session ends. On a WebProcess crash or a page/frame closing without a JS-side abort, the entries persist until session end. A destruction hook (page-level as well, since willDestroyFrame only fires for subframes) should drain the maps. Memory-safe (leak, not crash). Follow-up to the Digital Credentials WebDriver support (bug 306292) and the WebKitTestRunner support (bug 318290).
Attachments
Radar WebKit Bug Importer
Comment 1 2026-07-08 02:20:15 PDT
Note You need to log in before you can comment on or make changes to this bug.