WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
313737
Digital Credentials: align CredentialRequestCoordinator method names with spec algorithm names
https://bugs.webkit.org/show_bug.cgi?id=313737
Summary
Digital Credentials: align CredentialRequestCoordinator method names with spe...
Marcos Caceres
Reported
2026-04-30 05:56:59 PDT
The CredentialRequestCoordinator's method names and state machine terminology don't match the spec's algorithm names, making it harder to trace spec compliance. Current → Spec: - PickerState enum → InteractionState (spec: "interaction states") - PickerState::Presenting → InteractionState::Requesting (spec: "requesting") - prepareCredentialRequest() → prepareCredentialRequests() (spec: "prepare credential requests") - abortPicker() → abortTheCredentialRequest() (spec: "abort the credential request") - dismissPickerAndSettle() → rejectTheCredentialRequestWith() (spec: "reject the credential request with") - handleDigitalCredentialsPickerResult() → initiateTheCredentialRequest() (spec: "initiate the credential request") - showDigitalCredentialsPicker() → showDigitalCredentialsChooser() (spec: "digital credential chooser") - dismissDigitalCredentialsPicker() → dismissDigitalCredentialsChooser() (spec: "digital credential chooser") This is a pure mechanical rename with no behavioral changes. Aligning names makes it trivial to cross-reference between spec and implementation and reduces review burden for future spec changes. Files affected: CredentialRequestCoordinator.h/.cpp, CredentialRequestCoordinatorClient.h, DigitalCredential.cpp, DummyCredentialRequestCoordinatorClient.h/.cpp, DigitalCredentialsCoordinator.h/.cpp/.messages.in, WKDigitalCredentialsPicker.h/.mm, WebPageProxy.h/.cpp, PageClient.h, PageClientImplIOS.h/.mm, PageClientImplMac.h/.mm Depends on: Meta
bug 268516
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-05-03 07:29:30 PDT
<
rdar://problem/176128667
>
Marcos Caceres
Comment 2
2026-05-03 23:30:08 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/64148
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug