Skip to content

Commit

Permalink
fix getA() cutnpaste: ScopedCredentialOptions => AssertionOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffH authored and JeffH committed Mar 9, 2017
1 parent c49cb0f commit 48e1b68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.bs
Expand Up @@ -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=].

Expand Down

0 comments on commit 48e1b68

Please sign in to comment.