Skip to content

Commit

Permalink
Use reserved client's top-level origin
Browse files Browse the repository at this point in the history
  • Loading branch information
shivanigithub committed Apr 27, 2020
1 parent 6165dee commit cf583f5
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2057,15 +2057,10 @@ clearly stipulates that <a>connections</a> are keyed on
given <var>request</var>, run these steps:

<ol>
<li><p>If <var>request</var> is a <a>navigation request</a>, set <var>environmentSettings</var> to
<var>request</var>'s <a for=request>reserved client</a>'s
<a for="environment">target browsing context</a>'s <a>active document</a>'s
<a>environment settings object</a>. Otherwise let <var>environmentSettings</var> be
<var>request</var>'s <a for=request>client</a>.

<li><p>If <var>environmentSettings</var> is null, then return null.

<li><p>Let <var>topLevelOrigin</var> be <var>environmentSettings</var>'s
<li><p>If <var>request</var> is a <a>navigation request</a>, set <var>topLevelOrigin</var>
to <var>request</var>'s <a for=request>reserved client</a>'s
<a for="environment">top-level origin</a>. Otherwise, if <var>environmentSettings</var> is
null, return null, else, set <var>topLevelOrigin</var> to <var>environmentSettings</var>'s
<a for="environment settings object">top-level origin</a>.

<li><p>Let <var>topLevelSite</var> be the result of
Expand Down

0 comments on commit cf583f5

Please sign in to comment.