[webauthn] Make PublicKeyCredentialRequestOptions.rpId a DOMString (#2066)

zacknewman has just created a new issue for https://github.com/w3c/webauthn:

== Make PublicKeyCredentialRequestOptions.rpId a DOMString ==
Both [`PublicKeyCredentialRpEntity.id`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredentialrpentity-id) and [`PublicKeyCredentialRequestOptions.rpId`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredentialrequestoptions-rpid) represent the same thing (i.e., [RP ID](https://www.w3.org/TR/webauthn-3/#rp-id)); however the former is modeled as a [`DOMString`](https://webidl.spec.whatwg.org/#idl-DOMString) while the latter is modeled as a [`USVString`](https://webidl.spec.whatwg.org/#idl-USVString). These should be the same type. Specifically `PublicKeyCredentialRequestOptions.rpId` should be a `DOMString` as well or `PublicKeyCredentialRpEntity.id` should be a `USVString`

Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2066 using your GitHub account


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

Received on Friday, 3 May 2024 16:31:50 UTC