Skip to content

Commit

Permalink
Merge pull request #1955 from w3c/issue-1794-broken-refs
Browse files Browse the repository at this point in the history
Fix broken spec references
  • Loading branch information
emlun authored Sep 6, 2023
2 parents 410d0f7 + d3325e6 commit 40be3db
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,6 @@ spec: credential-management-1; urlPrefix: https://w3c.github.io/webappsec-creden
text: CredentialCreationOptions; url: dictdef-credentialcreationoptions
type: dictionary
text: CredentialRequestOptions; url: dictdef-credentialrequestoptions
for: Credential
type: method
text: [[CollectFromCredentialStore]](origin, options, sameOriginWithAncestors)
text: [[Create]](origin, options, sameOriginWithAncestors)
text: [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors)
text: [[Store]](credential, sameOriginWithAncestors)
for: CredentialsContainer
type: method
text: create(); url: dom-credentialscontainer-create
Expand Down Expand Up @@ -1693,8 +1687,8 @@ that are returned to the caller when a new credential is created, or a new asser

{{PublicKeyCredential}}'s [=interface object=] inherits {{Credential}}'s implementation of
{{Credential/[[CollectFromCredentialStore]](origin, options, sameOriginWithAncestors)}}, and defines its own
implementation of {{PublicKeyCredential/[[Create]](origin, options, sameOriginWithAncestors)}}, {{PublicKeyCredential/[[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors)}}, and
{{Credential/[[Store]](credential, sameOriginWithAncestors)}}.
implementation of each of {{PublicKeyCredential/[[Create]](origin, options, sameOriginWithAncestors)}}, {{PublicKeyCredential/[[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors)}}, and
{{PublicKeyCredential/[[Store]](credential, sameOriginWithAncestors)}}.


### `CredentialCreationOptions` Dictionary Extension ### {#sctn-credentialcreationoptions-extension}
Expand Down Expand Up @@ -2733,8 +2727,10 @@ The steps for [=issuing a credential request to an authenticator=] are as follow

<div link-for-hint="PublicKeyCredential/[[Store]](credential, sameOriginWithAncestors)">

The <dfn for="PublicKeyCredential" method>\[[Store]](credential, sameOriginWithAncestors)</dfn> method is not supported
for Web Authentication's {{PublicKeyCredential}} type, so it always throws an error.
The {{Credential/[[Store]](credential, sameOriginWithAncestors)}} method is not supported
for Web Authentication's {{PublicKeyCredential}} type,
so its implementation of the <dfn for="PublicKeyCredential" method>\[[Store]](credential, sameOriginWithAncestors)</dfn>
[=internal method=] always throws an error.

Note: This algorithm is synchronous; the {{Promise}} resolution/rejection is handled by
{{CredentialsContainer/store()|navigator.credentials.store()}}.
Expand Down

0 comments on commit 40be3db

Please sign in to comment.