File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4130,9 +4130,10 @@ To validate the calling origin is an authorized related origin for a given cerem
4130
4130
1. Let |domain| be the [=effective domain=] of |url|. If that is null, [=continue=].
4131
4131
1. Remove any [=public suffix=] from the end of |domain|, including private registries and unknown registries. If |domain| is now empty, [=continue=].
4132
4132
1. Split |domain| into |labels| and let |label| be the right-most one.
4133
+ 1. If the [=set/size=] of |labelsSeen| is greater than or equal to |maxLabels| and |labelsSeen|does not [=contains|contain=] |label|, [=continue=].
4133
4134
1. If |callerOrigin| and |url| are [=same origin=], return [TRUE].
4134
- 1. [=set/Append =] |label| to |labelsSeen| .
4135
- 1. If the [=set/size=] of |labelsSeen| is greater than or equal to |maxLabels|, [=break=] .
4135
+ 1. If |labelsSeen| [=contains =] |label|, [=continue=] .
4136
+ 1. If the [=set/size=] of |labelsSeen| is less than |maxLabels|, [=set/Append=] |label| to |labelsSeen| .
4136
4137
1. Return [FALSE].
4137
4138
4138
4139
# WebAuthn <dfn>Authenticator Model</dfn> # {#sctn-authenticator-model}
You can’t perform that action at this time.
0 commit comments