RESOLVED FIXED285651
Digital Credentials: Implement mock testing framework
https://bugs.webkit.org/show_bug.cgi?id=285651
Summary Digital Credentials: Implement mock testing framework
Marcos Caceres
Reported 2025-01-08 18:17:08 PST
It would be nice to have a mock testing framework for Digital Credential that: * allows setting a DigitalCredential to be received. * emulates dismissing a credential picker (e.g., via an abort controller). * emulates a user aborting a credential picker.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-01-15 18:18:14 PST
Marcos Caceres
Comment 2 2026-07-20 18:06:43 PDT
Implemented under bug 318290 (commit 73c1e36647e4, "Add WebKitTestRunner support for the virtual wallet"). The testdriver set_virtual_wallet_behavior command — actions respond / decline / wait / clear — covers all three capabilities requested here: setting a credential to be returned (respond), dismissing the chooser (decline), and user abort (wait + AbortSignal). The get-mdoc and concurrent-requests WPTs exercise these and run un-skipped. Closing as fixed; because the work landed under 318290 the commit doesn't reference this bug, so it wasn't auto-closed.
Note You need to log in before you can comment on or make changes to this bug.