webauthn
webauthn copied to clipboard
[[Get]] method doesn't exist in CredMan
§5.1.4. Use an Existing Credential to Make an Assertion - PublicKeyCredential’s [[Get]](options) Method appears to reference a [[Get]]
internal method on the Credential
interface from CredMan, but no such internal method exists (unlike [[Create]]
, which does exist). Rather, [[DiscoverFromExternalSource]]
is the actual internal method we override.
Proposed Change
- Delete the heading §5.1.4.1. PublicKeyCredential’s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Method (without changing any of the text around it).
- Rename the heading §5.1.4. Use an Existing Credential to Make an Assertion - PublicKeyCredential’s [[Get]](options) Method to 5.1.4. Use an Existing Credential to Make an Assertion - PublicKeyCredential’s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Internal Method.
- For consistency, change "Method" to "Internal Method" in the heading §5.1.3. Create a New Credential - PublicKeyCredential’s [[Create]](origin, options, sameOriginWithAncestors) Method.
- Similarly, change "Method" to "Internal Method" in the heading §5.1.5. Store an Existing Credential - PublicKeyCredential’s [[Store]](credential, sameOriginWithAncestors) Method.