Re: WebAuthn WebIDL Questions

On 10/30/16, 2:35 PM, "Adam Powers" <adam@fidoalliance.org> wrote:
>What sent me down the path of asking these questions is that the
>idlharness expects every interface to be declared as global unless it is
> declared with the [NoInterfaceObject] extended attribute. So the way our
>interfaces are defined now it seems like we would end up with
>window.WebAuthentication, window.ScopedCredentialInfo, etc.
>https://github.com/w3c/testharness.js/blob/873f9680aff66553f84d38f21a038c4
>534cc2789/idlharness.js#L759-L768
>
>Which is consistent with the specification:
>https://heycam.github.io/webidl/#es-interfaces
>
>I think that implies that users could call new WebAuthentication(), new
>ScopedCredentialInfo(), etc. Is that the intent?

I am unsure that is "the intent" but it seems it is at least a
side-effect. 


=JeffH

Received on Monday, 31 October 2016 15:57:41 UTC