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

Re: [webauthn] Should the "name" field in PublicKeyCredentialEntity be marked required?

From: Angelo Liao via GitHub <sysbot+gh@w3.org>
Date: Mon, 28 Aug 2017 18:26:53 +0000
To: public-webauthn@w3.org
Message-ID: <issue_comment.created-325437478-1503944805-sysbot+gh@w3.org>
The issue was brought up in past discussions around CredMan. If needed, I can dig up the related discussions. I believe the required keyword on IDL is omitted due to the need to integrate with CredMan. @mikewest probably has better memory about this. The argument is that it is ok for the keyword to be omitted as long as a DOM Exception error would be thrown. 

On the code level, I believe the expectation is that instead of JS throwing a type error due to missing parameter, it now throws a DOM Exception error. 

As for documentation, MDN just needs the document the difference. 

GitHub Notification of comment by AngeloKai
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/538#issuecomment-325437478 using your GitHub account
Received on Monday, 28 August 2017 18:26:50 UTC

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