W3C home > Mailing lists > Public > public-webauthn@w3.org > February 2020

[webauthn] Inputs to WebAuthn methods should not include strict Enum types (#1376)

From: J.C. Jones via GitHub <sysbot+gh@w3.org>
Date: Wed, 26 Feb 2020 19:59:42 +0000
To: public-webauthn@w3.org
Message-ID: <issues.opened-571622485-1582747180-sysbot+gh@w3.org>
jcjones has just created a new issue for https://github.com/w3c/webauthn:

== Inputs to WebAuthn methods should not include strict Enum types ==
We need to audit all enums passed into WebAuthn to ensure that WebAuthn can be extended without causing WebIDL failures for lagging implementations.

What we did for Transport was to define that the input values be DOMString and coerced when possible into the acceptable enum values. At the 26-02-2020 face-to-face we agreed that in general, enums input into WebAuthn, if unknown, be treated as if the value was not set (e.g., the default value).

This affects #1366.

Please view or discuss this issue at https://github.com/w3c/webauthn/issues/1376 using your GitHub account
Received on Wednesday, 26 February 2020 19:59:43 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:38:37 UTC