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 type of credProps.authenticatorDisplayName to DOMString #2115

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

emlun
Copy link
Member

@emlun emlun commented Aug 7, 2024

As recommended by the Web IDL spec:

Specifications should only use USVString for APIs that perform text processing and need a string of scalar values to operate on. Most APIs that use strings should instead be using DOMString, which does not make any interpretations of the code units in the string. When in doubt, use DOMString.


Implementation commitment:

Documentation and checks

  • [ ] Pinged MDN

Preview | Diff

As recommended by the Web IDL spec [1]:

>Specifications should only use `USVString` for APIs that perform text
>processing and need a string of scalar values to operate on. Most APIs that use
>strings should instead be using `DOMString`, which does not make any
>interpretations of the code units in the string. When in doubt, use `DOMString`.

[1]: https://webidl.spec.whatwg.org/#idl-USVString
@nadalin nadalin added this to the L3-WD-02 milestone Aug 14, 2024
@emlun
Copy link
Member Author

emlun commented Aug 28, 2024

Top comment updated with links to bug trackers.

@emlun emlun merged commit 6a79516 into main Aug 28, 2024
2 checks passed
@emlun emlun deleted the authenticatorDisplayName-DOMString branch August 28, 2024 12:43
github-actions bot added a commit that referenced this pull request Aug 28, 2024
SHA: 6a79516
Reason: push, by emlun

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

6 participants