Skip to content

Commit

Permalink
Address comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkruisselbrink committed Aug 2, 2016
1 parent 9c1bda9 commit 0cd06c3
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -2720,30 +2720,30 @@ <h3>HTTP fetch</h3>
<li><p>Let <var>actualResponse</var> be null.

<li>
<p>If <var>request</var>'s <span>skip-service-worker flag</span> is unset, run these substeps:
<p>If <var>request</var>'s <span>skip-service-worker flag</span> is unset, then run these substeps:

<ol>
<li>
<p>If <var>request</var>'s <span title=concept-request-client>client</span> is
null or <var>request</var>'s <span title=concept-request-client>client</span>'s
<span data-anolis-spec=html title=concept-settings-object-global>global object</span> is not a
<code data-anolis-spec=sw>ServiceWorkerGlobalScope</code> object,
set <var>response</var> to the result of invoking
then set <var>response</var> to the result of invoking
<span data-anolis-spec=sw>handle fetch</span> for <var>request</var>.
<span data-anolis-ref>HTML</span>
<span data-anolis-ref>SW</span>

<li>
<p>If <var>response</var> is null,
<var>request</var> is a <span>subresource request</span> and <var>request</var>'s
<span title=concept-request-origin>origin</span> is not the same as <var>request</var>'s
<var>request</var> is a <span>subresource request</span>, and <var>request</var>'s
<span title=concept-request-origin>origin</span> is not <span data-anolis-spec=html>same origin</span> with <var>request</var>'s
<span title=concept-request-url>url</span>'s <span data-anolis-spec=html>origin</span>,
set <var>response</var> to the result of invoking
then set <var>response</var> to the result of invoking
<span data-anolis-spec=sw>handle foreign fetch</span> for <var>request</var>.
<span data-anolis-ref>SW</span>

<li>
<p>If <var>response</var> is not null, run these substeps:
<p>If <var>response</var> is not null, then run these substeps:

<ol>
<li><p><span title="Read a request">Read <var>request</var></span>.
Expand All @@ -2753,7 +2753,7 @@ <h3>HTTP fetch</h3>
<span title=concept-internal-response>internal response</span> otherwise.

<li>
<p>If one of the following conditions is true, return a
<p>If one of the following conditions is true, then return a
<span title=concept-network-error>network error</span>:

<ul class=brief>
Expand All @@ -2776,7 +2776,6 @@ <h3>HTTP fetch</h3>
<li><p>Execute
<a href=https://w3c.github.io/webappsec-csp/#set-response-csp-list>set <var>response</var>'s CSP list</a>
on <var>actualResponse</var>. <span data-anolis-ref>CSP</span>

</ol>
</ol>

Expand Down

0 comments on commit 0cd06c3

Please sign in to comment.