..pointing back to credman's section 7.1. Website Authors, which briefly & explicitly explains that trying to use if (!navigator.credentials) ... is suboptimal for feature detection, rather if (!window.PublicKeyCredential) ... ought be used. [the examples in webauthn already use the latter as feature detection, so they are already good]
..pointing back to credman's section 7.1. Website Authors, which briefly & explicitly explains that trying to use
if (!navigator.credentials) ...is suboptimal for feature detection, ratherif (!window.PublicKeyCredential) ...ought be used. [the examples in webauthn already use the latter as feature detection, so they are already good]