Skip to content

Commit

Permalink
Editorial tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Aug 12, 2020
1 parent 51fb138 commit 261955f
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -80458,10 +80458,12 @@ interface <dfn>BarProp</dfn> {

<ol>
<li><p>Let <var>newCOOPEnforcementResult</var> be a new <span
data-x="coop-enforcement-result">cross-origin opener policy enforcement result</span> given
data-x="coop-enforcement-result">cross-origin opener policy enforcement result</span> whose <span
data-x="coop-enforcement-bcg-switch">needs a browsing context group switch</span> is
<var>currentCOOPEnforcementResult</var>'s <span data-x="coop-enforcement-bcg-switch">needs a
browsing context group switch</span>, <var>responseOrigin</var>, and
<var>responseCOOP</var>.</p></li>
browsing context group switch</span>, <span data-x="coop-enforcement-origin">current
origin</span> is <var>responseOrigin</var>, and <span data-x="coop-enforcement-coop">cross-origin
opener policy</span> is <var>responseCOOP</var>.</p></li>

<li><p>Let <var>isInitialAboutBlank</var> be false.</p></li>

Expand All @@ -80475,21 +80477,21 @@ interface <dfn>BarProp</dfn> {
data-x="coop-enforcement-coop">cross-origin opener policy</span>,
<var>currentCOOPEnforcementResult</var>'s <span
data-x="coop-enforcement-origin">origin</span>,
<var>responseCOOP</var> and <var>responseOrigin</var> is true, then return
<var>responseCOOP</var>, and <var>responseOrigin</var> is true, then return
<var>newCOOPEnforcementResult</var>.</p></li>

<li>
<p>If all of the following are true:</p>

<ul>
<ul class="brief">
<li><p><var>isInitialAboutBlank</var></p></li>

<li><p><var>currentCOOPEnforcementResult</var>'s <span
data-x="coop-enforcement-coop">cross-origin opener policy</span> is "<code
data-x="coop-same-origin-allow-popups">same-origin-allow-popups</code>".</p></li>
data-x="coop-same-origin-allow-popups">same-origin-allow-popups</code>"</p></li>

<li><p><var>responseCOOP</var> is "<code
data-x="coop-unsafe-none">unsafe-none</code>".</p></li>
data-x="coop-unsafe-none">unsafe-none</code>"</p></li>
</ul>

<p>then return <var>newCOOPEnforcementResult</var>.</p>
Expand Down Expand Up @@ -82832,10 +82834,13 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
<li><p>Let <var>responseOrigin</var> be null.

<li><p>Let <var>coopEnforcementResult</var> be a new <span
data-x="coop-enforcement-result">cross-origin opener policy enforcement result</span> given
false, <var>browsingContext</var>'s <span>active document</span>'s <span>origin</span>, and
<var>browsingContext</var>'s <span>active document</span>'s <span
data-x="concept-document-coop">cross-origin opener policy</span>.</p></li>
data-x="coop-enforcement-result">cross-origin opener policy enforcement result</span> whose <span
data-x="coop-enforcement-bcg-switch">needs a browsing context group switch</span> is false, <span
data-x="coop-enforcement-origin">current origin</span> is <var>browsingContext</var>'s
<span>active document</span>'s <span>origin</span>, and <span
data-x="coop-enforcement-coop">cross-origin opener policy</span> is <var>browsingContext</var>'s
<span>active document</span>'s <span data-x="concept-document-coop">cross-origin opener
policy</span>.</p></li>

<li><p>Let <var>finalSandboxFlags</var> be an empty <span>sandboxing flag set</span>.</p></li>

Expand Down

0 comments on commit 261955f

Please sign in to comment.