Re: [webauthn] Authenticator Attestation Response's [[transports]] should be an attribute rather than an internal slot. (#2080)

We would have done this if possible, but unfortunately this is not allowed by the Web IDL definition of an [interface attribute](https://webidl.spec.whatwg.org/#dfn-attribute):

>An attribute is an [interface member](https://webidl.spec.whatwg.org/#dfn-interface-member) or [namespace member](https://webidl.spec.whatwg.org/#dfn-namespace-member) [...]
>[...]
>The type of the attribute, after resolving typedefs, must not be a [nullable](https://webidl.spec.whatwg.org/#dfn-nullable-type) or non-nullable version of any of the following types:
>
>- a [sequence type](https://webidl.spec.whatwg.org/#sequence-type)
>[...]

`[[transports]]` is a sequence type, so it cannot be an attribute of `interface AuthenticatorAttestationResponse`.

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


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

Received on Friday, 31 May 2024 09:12:05 UTC