W3C home > Mailing lists > Public > public-webauthn@w3.org > May 2017

which interface object to use?

From: =JeffH <Jeff.Hodges@KingsMountain.com>
Date: Thu, 18 May 2017 14:57:26 -0700
To: W3C Web Authn WG <public-webauthn@w3.org>
Message-ID: <87d090f6-f140-258a-2391-d22a225263ed@KingsMountain.com>
I have some questions for the browser-guts/webIDL experts:


A) In section {#createCredential} we say..

1. Let |callerOrigin| be the [=environment settings object/origin=] 
specified by this {{PublicKeyCredential}} [=interface object=]'s 
[=relevant settings object=]. ...

<https://github.com/w3c/webauthn/blob/22fb7d34a554e01139aa458274743d24272f4c52/index.bs#L526>


B) In section {#getAssertion} we say..

1. Let |callerOrigin| be the [=environment settings object/origin=] of 
this {{CredentialsContainer}} object's [=relevant settings object=].

<https://github.com/w3c/webauthn/blob/22fb7d34a554e01139aa458274743d24272f4c52/index.bs#L718>


Which one is correct?  Perhaps neither?

Q1. It seems to me that in (A), `this {{PublicKeyCredential}}` actually 
ought to be `this {{CredentialsContainer}}` I.e., the same as (B)) ? 
Note that CredMan hangs the create() and get() methods off of 
`{{CredentialsContainer}}`, /not/ `{{Credential}}`.

Q2. (B) lacks the term `[=interface object=]'s` that (A) has -- is (B) 
incorrect?

Q3. Any other issues with these assignment statements that y'all 
expert-types see?


thanks!

=JeffH
Received on Thursday, 18 May 2017 21:58:07 UTC

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