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

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