Bug 285651
| Summary: | Digital Credentials: Implement mock testing framework | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Marcos Caceres <marcosc> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/143013925>
Marcos Caceres
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.