Re: [webauthn] New PublicKeyCredential methods for JSON (de)serialization (#1703)

Alright, I've got new types defined for everything so I'm flipping this to Ready for Review.

One thing I need help with (aside from review of the IDL definitions) is figuring out the proper way to address "FATAL ERROR"s like this:

```
FATAL ERROR: 'dictionary' definitions don't use a 'for' attribute, but this one claims it's for 'PublicKeyCredential' (perhaps inherited from an ancestor). This is probably a markup error.
```

I wasn't able to intuit a solution from existing definitions.

I'm also uncertain how my intended API for `optionsFromJSON()` is best defined as WebIDL. I want to define two possible options blobs, as documented in https://docs.google.com/document/d/e/2PACX-1vTEyAjhn6a3Rqz2KLKcPg7NwoCGO31Lz7E_2zYt8J6Kzey8UUYycv5iukUos5waD4gsml-aEOEs1it0/pub, instead of using basic unions that make it ambiguous which input generates which output.

-- 
GitHub Notification of comment by MasterKale
Please view or discuss this issue at https://github.com/w3c/webauthn/pull/1703#issuecomment-1057300932 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 2 March 2022 19:31:10 UTC