Skip to content

Commit

Permalink
Editorial: rename 'fetch finale' to 'fetch response handover'
Browse files Browse the repository at this point in the history
Closes #1419.
  • Loading branch information
noamr authored Apr 5, 2022
1 parent 92b3578 commit 3a65729
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4258,7 +4258,7 @@ steps:
<p>If <var>request</var>'s <a for=request>integrity metadata</a> is not the empty string, then:

<ol>
<li><p>Let <var>processBodyError</var> be this step: run <a>fetch finale</a> given
<li><p>Let <var>processBodyError</var> be this step: run <a>fetch response handover</a> given
<var>fetchParams</var> and a <a>network error</a>.

<li><p>If <var>request</var>'s <a for=request>response tainting</a> is "<code>opaque</code>" or
Expand All @@ -4276,20 +4276,21 @@ steps:
<li><p>Set <var>response</var>'s <a for=response>body</a> to the first return value of
<a for=BodyInit>safely extracting</a> <var>bytes</var>.

<li><p>Run <a>fetch finale</a> given <var>fetchParams</var> and <var>response</var>.
<li><p>Run <a>fetch response handover</a> given <var>fetchParams</var> and <var>response</var>.
</ol>

<li><p><a for=body>Fully read</a> <var>response</var>'s <a for=response>body</a> given
<var>processBody</var> and <var>processBodyError</var>.
</ol>

<li><p>Otherwise, run <a>fetch finale</a> given <var>fetchParams</var> and <var>response</var>.
<li><p>Otherwise, run <a>fetch response handover</a> given <var>fetchParams</var> and
<var>response</var>.
</ol>

<hr>

<p>The <dfn>fetch finale</dfn>, given a <a for=/>fetch params</a> <var>fetchParams</var> and a
<a for=/>response</a> <var>response</var>, run these steps:
<p>The <dfn id=fetch-finale>fetch response handover</dfn>, given a <a for=/>fetch params</a>
<var>fetchParams</var> and a <a for=/>response</a> <var>response</var>, run these steps:

<ol>
<li>
Expand Down

0 comments on commit 3a65729

Please sign in to comment.