Skip to content

Commit

Permalink
use macros for true and false
Browse files Browse the repository at this point in the history
  • Loading branch information
timcappalli committed Apr 29, 2024
1 parent bdba742 commit de25c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4122,10 +4122,10 @@ To validate the calling origin is an authorized related origin for a given cerem
1. Remove any [=public suffix=] from the end of |domain|, including private registries and unknown registries. If |domain| is now empty, [=continue=].
1. Split |domain| into [=origin labels|labels=] and let |label| be the right-most one.
1. If |labelsSeen| [=set/contains=] |label|, [=continue=].
1. If |rpIdRequested| and |url| are [=same origin=], return `true`.
1. If |rpIdRequested| and |url| are [=same origin=], return [TRUE].
1. [=set/Append=] |label| to |labelsSeen|.
1. If the [=set/size=] of |labelsSeen| is greater than or equal to |maxLabels|, [=break=].
1. Return `false`.
1. Return [FALSE].

# WebAuthn <dfn>Authenticator Model</dfn> # {#sctn-authenticator-model}

Expand Down

0 comments on commit de25c37

Please sign in to comment.