Re: [webauthn] Dictionary members should be ordered lexicographically per Web IDL Standard (#2083)

I'll keep #2082 open because layout consistency is good for readability even when not formally required.

> Is there any recommendation at all on the order of fields?

For how RPs should order fields in JavaScript representations of the options objects: no, order should not matter at all.

The low-level [CTAP protocol does care about serialization order](https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#ctap2-canonical-cbor-encoding-form), but that's a different protocol which is not exposed to web applications and is not defined in WebIDL.

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


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

Received on Thursday, 13 June 2024 10:46:04 UTC