Skip to content

Commit

Permalink
b
Browse files Browse the repository at this point in the history
  • Loading branch information
npm1 committed May 1, 2023
1 parent a41d51b commit dcc82fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -497,14 +497,14 @@ following steps. This returns an {{IdentityCredential}} or failure.
account pictures. In these cases, the [=user agent=] may delay these fetches until they are
needed.
1. Let |account|, |accountState| be initially set to null.
1. Let |registeredAccount|, |numRegistedAccounts| be null and 0, respectively.
1. Let |registeredAccount|, |numRegisteredAccounts| be null and 0, respectively.
1. For each |acc| in |accountsList|:
1. Let |accState| be the result of running the [=compute account state=] algorithm given
|provider| and |acc|.
1. If |accState| is {{registered}}, set |registeredAccount| to |acc| and increase
|numRegistedAccounts| by 1.
|numRegisteredAccounts| by 1.
1. If |mediation| is not "{{CredentialMediationRequirement/required}}", |requiresUserMediation|
is false, and |numRegistedAccounts| is equal to 1:
is false, and |numRegisteredAccounts| is equal to 1:
1. Set |account| to |registeredAccount| and |accountState| to the result of running
[=compute account state=] algorithm given |provider| and |account|. When doing this,
the user agent MAY show some UI to the user indicating that they are being
Expand Down

0 comments on commit dcc82fd

Please sign in to comment.