Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change *ResponseJSON.id to DOMString #2120

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Conversation

MasterKale
Copy link
Contributor

@MasterKale MasterKale commented Aug 14, 2024

This PR refines typing in RegistrationResponseJSON and AuthenticationResponseJSON to remove confusion around the shape of the value of JSON-serialized Credential.id.

Fixes #2119.


Preview | Diff

@MasterKale MasterKale requested a review from emlun August 14, 2024 15:58
@MasterKale MasterKale self-assigned this Aug 14, 2024
Copy link
Member

@nsatragno nsatragno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nina's stamp of approval

@MasterKale MasterKale merged commit 9135ead into main Aug 14, 2024
2 checks passed
@MasterKale MasterKale deleted the mm/update-responsejson-id-type branch August 14, 2024 18:20
github-actions bot added a commit that referenced this pull request Aug 14, 2024
SHA: 9135ead
Reason: push, by MasterKale

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
aarongable pushed a commit to chromium/chromium that referenced this pull request Aug 14, 2024
To follow w3c/webauthn#2120.

It was a DOMString by another name before, so this change is
non-breaking.

Change-Id: I9c341594a493bbc97d94e7dea0bb1d567e6d221d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5789432
Reviewed-by: Nina Satragno <[email protected]>
Commit-Queue: Martin Kreichgauer <[email protected]>
Commit-Queue: Nina Satragno <[email protected]>
Auto-Submit: Martin Kreichgauer <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1341983}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove RegistrationResponseJSON.id and AuthenticationResponseJSON.id
6 participants