W3C home > Mailing lists > Public > public-webauthn@w3.org > October 2016

Re: WebAuthn WebIDL Questions

From: Hodges, Jeff <jeff.hodges@paypal.com>
Date: Mon, 31 Oct 2016 15:57:06 +0000
To: Adam Powers <adam@fidoalliance.org>
CC: W3C WebAuthn WG <public-webauthn@w3.org>
Message-ID: <D43CB78D.DA1FB%jehodges@paypalcorp.com>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 07:26:23 UTC