- From: J.C. Jones <notifications@github.com>
- Date: Mon, 15 Jun 2020 14:12:27 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 15 June 2020 21:12:40 UTC
Sure, @annevk: The bug was https://bugzilla.mozilla.org/show_bug.cgi?id=1573245 for the webcompat issue with Chrome. When they added the enum type and began using it, Gecko threw `Uncaught (in promise) TypeError: CredentialsContainer.get: 'cable' (value of 'transports' member of PublicKeyCredentialDescriptor) is not a valid value for enumeration AuthenticatorTransport.` while parsing the scripts. All uses of WebAuthn are through passing dictionaries to the methods `navigator.credentials.get` or `navigator.credentials.create`, which presumably is why they throw. It sounds like it would have been more future-proof if Credentials Management had instead returned an interface which could have been manipulated with setters, and had some sort of execute method. -- 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#issuecomment-644392903
Received on Monday, 15 June 2020 21:12:40 UTC