[webauthn] Partial dictionaries for extension outputs may be incorrect use of WebIDL

emlun has just created a new issue for https://github.com/w3c/webauthn:

== Partial dictionaries for extension outputs may be incorrect use of WebIDL ==
@agl notes in https://github.com/w3c/webauthn/issues/982#issuecomment-402249758 that

> > [@emlun] made the [same interpretation](https://bugs.chromium.org/p/chromium/issues/detail?id=853770#c6) as @kpaulh: that the dictionary extension shouldn't be applied unless the extension is requested.
> 
> I agree that makes the most sense in this context, although I find scant support for the idea that partial dictionaries can be dynamically composed from reading [WebIDL](https://heycam.github.io/webidl/#dfn-partial-dictionary). [...]

So it seems like we might be using WebIDL in an incorrect way if the intent is that those partial dictionaries would only be "applied" if the respective extensions were processed.

I don't know if this is in fact a problem or how big, or if it's something we should worry about if it is, but I thought it seems important enough to warrant discussion in its own issue.

Please view or discuss this issue at https://github.com/w3c/webauthn/issues/988 using your GitHub account

Received on Monday, 9 July 2018 11:03:23 UTC