W3C home > Mailing lists > Public > public-webauthn@w3.org > June 2022

[webauthn] Conditional Mediation feature discovery should really return a promise (#1745)

From: Nina Satragno via GitHub <sysbot+gh@w3.org>
Date: Fri, 10 Jun 2022 20:28:41 +0000
To: public-webauthn@w3.org
Message-ID: <issues.opened-1267996661-1654892919-sysbot+gh@w3.org>
nsatragno has just created a new issue for https://github.com/w3c/webauthn:

== Conditional Mediation feature discovery should really return a promise ==
_(filing a new issue for this as it's a small change and I don't want to pile more stuff on the conditional mediation issue / pr)_

@emlun [pointed out](https://github.com/w3c/webauthn/pull/1576/files#r750426635) that since `isUserVerifyingPlatformAuthenticatorAvailable()` returns a promise, maybe `isConditionalMediationAvailable()` should return a promise as well. I said no because the browser could figure this out quickly without blocking, but after implementing, I realized I was wrong (-:. The details are that on Windows, we'll gate availability on dynamically determining if the webauthn DLL exposes required functions, which is slow.

Let's have `isConditionalMediationAvailable` return a `Promise<bool>` with the availability instead.

Please view or discuss this issue at https://github.com/w3c/webauthn/issues/1745 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 10 June 2022 20:28:42 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 07:26:46 UTC