diff --git a/index.bs b/index.bs index 0d55c766e..63f49299d 100644 --- a/index.bs +++ b/index.bs @@ -5577,10 +5577,10 @@ structures. In order to perform a [=registration ceremony=], the [=[RP]=] MUST proceed as follows: -1. Let |options| be a new {{PublicKeyCredentialCreationOptions}} structure configured to the [=[RP]=]'s needs for the ceremony. +1. Let |options| be a new {{CredentialCreationOptions}} structure configured to the [=[RP]=]'s needs for the ceremony. + Let |pkOptions| be |options|.{{CredentialCreationOptions/publicKey}}. -1. Call {{CredentialsContainer/create()|navigator.credentials.create()}} and pass |options| - as the {{CredentialCreationOptions/publicKey}} option. +1. Call {{CredentialsContainer/create()|navigator.credentials.create()}} and pass |options| as the argument. Let |credential| be the result of the successfully resolved promise. If the promise is rejected, abort the ceremony with a user-visible error, or otherwise guide the user experience as might be determinable from the context available in the rejected promise. For example if the promise is rejected with @@ -5608,7 +5608,7 @@ In order to perform a [=registration ceremony=], the [=[RP]=] MUST proceed as fo 1. Verify that the value of |C|.{{CollectedClientData/type}} is `webauthn.create`. 1. Verify that the value of |C|.{{CollectedClientData/challenge}} equals - the base64url encoding of |options|.{{PublicKeyCredentialCreationOptions/challenge}}. + the base64url encoding of |pkOptions|.{{PublicKeyCredentialCreationOptions/challenge}}.