Skip to content

Commit

Permalink
Fix navigate to response case
Browse files Browse the repository at this point in the history
  • Loading branch information
clamy committed Jun 17, 2020
1 parent 2472e70 commit 4c4b7ac
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -81986,6 +81986,9 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
<dt>If <var>resource</var> is a <span data-x="concept-response">response</span></dt>
<dd>
<ol>
<li><p>Assert <var>browsingContext</var> is not a <span>top-level browsing
context</span>.</p></li>

<li><p>Let <var>finalSandboxFlags</var> be the union of <var>browsingContext</var>'s
<span>sandboxing flag set</span> and <var>resource</var>'s <span>forced sandboxing flag
set</span>.</p></li>
Expand All @@ -81999,25 +82002,6 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface

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

<li>
<p>If <var>browsingContext</var> is a <span>top-level browsing context</span>, then: </p>

<ol>
<li><p>Set <var>responseCOOP</var> to the result of <span data-x="obtain-coop">obtaining a
cross-origin opener policy</span> given <var>resource</var> and
<var>responseOrigin</var>.</p></li>.

<li><p>If <var>sandboxFlags</var> is not empty and <var>responseCOOP</var> is not "<code
data-x="coop-unsafe-none">unsafe-none</code>", then set <var>resource</var> to an
appropriate <span>network error</span> and proceed.</p></li>

<li><p>Set <var>browsingContexSwitchNeeded</var> be the result of <span
data-x="check-browsing-context-group-switch-response">checking if the response requires a
browsing context group switch</span> given <var>browsingContext</var>,
<var>responseOrigin</var>, and <var>responseCOOP</var>.</p></li>
</ol>
</li>

<li><p>Run <span>process a navigate response</span> with null, <var>resource</var>,
<var>navigationType</var>, the <span>source browsing context</span>,
<var>browsingContext</var>, <var>finalSandboxFlags</var>, <var>responseOrigin</var>,
Expand Down

0 comments on commit 4c4b7ac

Please sign in to comment.