[heycam/webidl] Enums that does not throw? (#893)

https://github.com/w3c/webauthn/commit/a133711055b3b13c700fe2ea2acd62fe749a3f74

Web Authentication just dropped their uses of enums because it's not forward compatible; older implementation throws when passing a newly added enum value. They now use DOMString and added proses to [ignore unknown enum values](https://w3c.github.io/webauthn/#dom-publickeycredentialcreationoptions-attestation):

>Client platforms MUST ignore unknown values, treating an unknown value as if the member does not exist.

Should this be supported in IDL level? Is there any other specification that does the same thing?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/893

Received on Saturday, 13 June 2020 17:27:07 UTC