Skip to content

Commit

Permalink
Use map/exists
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiemc committed Jul 26, 2024
1 parent 742633c commit 0d79388
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions isolated-contexts.bs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ spec:html; type:dfn; text:concrete
spec:html; type:dfn; for:/; text:origin
spec:html; type:dfn; for:environment settings object; text:origin
spec:infra; type:dfn; for:list; text:for each
spec:infra; type:dfn; for:map; text:exist
spec:infra; type:dfn; text:user agent
spec:url; type:dfn; for:/; text:url
spec:webidl; type:dfn; text:namespace
Expand Down Expand Up @@ -418,7 +417,7 @@ An [=environment settings object=] |environment| is an
Redressing attacks=], return `false`.
1. Let |origin| be |environment|'s [=origin=].
1. If the [=user agent=]'s [=origin integrity verification map=][|origin|]
does not [=exist=], return `false`.
does not [=map/exist=], return `false`.
1. Return `true`.
</div>

Expand All @@ -439,7 +438,7 @@ and a [=response=] |response|:
<li>Let |origin| be |request|'s [=request/origin=].</li>
<li>
If the [=user agent=]'s [=origin integrity verification map=][|origin|]
does not [=exist=], return "`not applicable`".
does not [=map/exist=], return "`not applicable`".
</li>
<li>
Let |integrity verification algorithm| be the [=user agent=]'s
Expand Down Expand Up @@ -601,7 +600,7 @@ environment</a> |environment|, run these steps:
</ins></li>
<li><ins>
If the [=user agent=]'s [=origin integrity verification map=]
[|top-level origin|] [=exists=], return a [=tuple=] consisting of
[|top-level origin|] [=map/exists=], return a [=tuple=] consisting of
|top-level origin| and |origin|.
</ins></li>

Expand Down

0 comments on commit 0d79388

Please sign in to comment.