From dcc82fd4d65a4b98dbcaeba103c286da28eaae8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Pe=C3=B1a=20Moreno?= Date: Mon, 1 May 2023 09:50:38 -0400 Subject: [PATCH] b --- spec/index.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/index.bs b/spec/index.bs index b9077d59..d6691ab7 100644 --- a/spec/index.bs +++ b/spec/index.bs @@ -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