- From: Nehal Bhanushali via GitHub <sysbot+gh@w3.org>
- Date: Thu, 20 Feb 2025 23:57:55 +0000
- To: public-webauthn@w3.org
nehalbhanushali has just created a new issue for https://github.com/w3c/webauthn: == Find out whether passkeys are supported without passing value to publicKey parameter in .get() == ## Description In the event where passkeys are not supported, certain apps do return `NotSupportedError` as expected with ``` navigator.credentials.get({ publicKey: publicKeyCredentialRequestOptions }) ``` However, certain apps return `NotAllowedError`, which is also returned in case the user cancels the operation or the operation times out. Should the latter return `AbortError`? Also, if we want to find out proactively whether passkeys are supported, the following would typically return `TypeError` ``` navigator.credentials.get({ publicKey: {} }) ``` Would that be the case when passkeys are not supported? Would the above return something other than `TypeError`? ## Related Links https://github.com/w3c/webauthn/issues/2096 Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2262 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 20 February 2025 23:57:56 UTC