- From: Jesper van den Ende via GitHub <sysbot+gh@w3.org>
- Date: Mon, 20 Jan 2025 19:12:32 +0000
- To: public-webauthn@w3.org
jespertheend has just created a new issue for https://github.com/w3c/webauthn: == Standardize abort errors == ## Proposed Change If the user declines the UI prompt for calls such as `navigator.credentials.get()`, what the promise rejects with depends on the browser: - Chrome: NotAllowedError: The operation either timed out or was not allowed - Firefox: AbortError: The operation was aborted. - Safari: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. I was hoping to able to catch any error and only show a message to the user if they didn't intentionally declined the prompt. At the moment, handling this use case seems a bit difficult. Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2240 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 20 January 2025 19:12:33 UTC