Re: [webauthn] PublicKeyCredentialRequestOptions and MakeCredentialOptions could both inherit from a dictionary which has their shared members

> PublicKeyCredentialRequestOptions and MakeCredentialOptions inherit from different dictionaries defined in CredMan.

I'm not obviously seeing that in https://w3c.github.io/webauthn/ as of today.

> then have PublicKeyCredentialRequestOptions and MakeCredentialOptions inherit from it

You can only inherit from one thing.

The point of this issue was that there was some stuff that was defined multiple times and could just be defined once instead.  But that may not be viable with a different inheritance model for these dictionaries, in which case you do just copy/paste as needed, at least until https://github.com/heycam/webidl/issues/195 exists.



-- 
GitHub Notification of comment by bzbarsky
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/278#issuecomment-306601004 using your GitHub account

Received on Tuesday, 6 June 2017 20:04:37 UTC