Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 9 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -867,23 +867,17 @@ <h3>
operations to ensure user control and consent.
</p>
<p>
For {{CredentialsContainer/get()}} and {{CredentialsContainer/create()}}
calls involving a {{DigitalCredential}}:
</p>
<ul>
<li>[=User mediation=] is always performed as if the `mediation` option
was set to {{CredentialMediationRequirement/"required"}}.
</li>
<li>The `mediation` member of the {{CredentialRequestOptions}} and
{{CredentialCreationOptions}} dictionaries is ignored.
</li>
<li>To simplify the developer experience, [=user agents=] MUST NOT throw
a {{TypeError}} if the `mediation` member is absent or has a value other
than {{CredentialMediationRequirement/"required"}}. This makes
To simplify the developer experience of {{CredentialsContainer/get()}}
calls involving a {{DigitalCredential}}, [=user agents=] MUST NOT throw
an error if the {{CredentialRequestOptions/mediation}} member is absent
or has a value other than {{CredentialMediationRequirement/"required"}}.
Similarly, {{CredentialsContainer/create()}} calls involving a
{{DigitalCredential}}, [=user agents=] MUST NOT throw an error if the
{{CredentialCreationOptions/mediation}} member is absent or has a value
other than {{CredentialMediationRequirement/"required"}}. This makes
{{CredentialMediationRequirement/"required"}} mediation an implicit and
non-overridable behavior of the API.
</li>
</ul>
</p>
<pre class="idl">
[Exposed=Window, SecureContext]
interface DigitalCredential : Credential {
Expand Down