Re: [webauthn] Provide transport information during registration.

This PR is not intended for PropRec, but rather for comments and for a future revision. It squashes some commits from #882 to make things clearer and easier to review. There are a few changes from that, older PR:

1. I've added some paragraphs about how a user agent might learn of additional transports and how Tor Browser might implement this, based on comments from JC on the previous PR.
1. Since we're returning a sequence of values, and `AuthenticatorAttestationResponse` is an interface, I've made `getTransports` a method that returns the value of an internal slot. This apes the whole discussion about whether we needed a method to return the extension results: since it's a sequence of transports I think we need a method here for the same reasons. Specifically, from [WebIDL](https://heycam.github.io/webidl/#idl-attributes):
> The type of the attribute, after resolving typedefs, must not be a nullable or non-nullable version of any of the following types: … a sequence type …

-- 
GitHub Notification of comment by agl
Please view or discuss this issue at https://github.com/w3c/webauthn/pull/1050#issuecomment-417078247 using your GitHub account

Received on Wednesday, 29 August 2018 19:36:32 UTC