Re: [webauthn] Remove `RegistrationResponseJSON.id` and `AuthenticationResponseJSON.id` (#2119)

@MasterKale It could in theory break existing implementations of the WebIDL, but the feature hasn't been in a mature spec release yet, so I say go for it. Usages by RPs are unlikely to break since the actual types are the same.

We should stick with `DOMString` wherever we can, though, 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


-- 
GitHub Notification of comment by emlun
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2119#issuecomment-2284555877 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 12 August 2024 17:27:10 UTC