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

> Based on some discussion during the WG meeting today, it may be feasible to update the .toJSON() method here to reference https://webidl.spec.whatwg.org/#idl-tojson-operation, and then in plain language describe that the client has the responsibility to return an object with ArrayBuffer's encoded to strings using Base64URL.

I've been researching if this is appropriate to do indicate with a custom WebIDL extended attribute (for example `[Base64URLSerialization]`) which would also provide a hint usable by tooling.

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


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

Received on Wednesday, 9 March 2022 22:13:30 UTC