diff --git a/index.bs b/index.bs index dba64e235..609ba109b 100644 --- a/index.bs +++ b/index.bs @@ -583,15 +583,15 @@ When this method is invoked, the user agent MUST execute the following algorithm is an [=opaque origin=], return [=a promise rejected with=] a {{DOMException}} whose name is "{{NotAllowedError}}", and terminate this algorithm. -1. If the {{ScopedCredentialOptions/rpId}} member of {{options}} is [=present|not present=], then set |rpId| to |callerOrigin|. +1. If the {{AssertionOptions/rpId}} member of {{options}} is [=present|not present=], then set |rpId| to |callerOrigin|. Otherwise: 1. Let |effectiveDomain| be the |callerOrigin|'s [=effective domain=]. 1. If |effectiveDomain| is null, then return [=a promise rejected with=] a {{DOMException}} whose name is "{{SecurityError}}" and terminate this algorithm. - 1. If {{ScopedCredentialOptions/rpId}} [=is not a registrable domain suffix of and is not equal to=] + 1. If {{AssertionOptions/rpId}} [=is not a registrable domain suffix of and is not equal to=] |effectiveDomain|, return [=a promise rejected with=] a {{DOMException}} whose name is "{{SecurityError}}", and terminate this algorithm. - 1. Set |rpId| to the {{ScopedCredentialOptions/rpId}}. + 1. Set |rpId| to the {{AssertionOptions/rpId}}. 1. Let |clientExtensions| be a new [=list=].