Skip to content

Commit 90cd540

Browse files
committed
Editorial: remove a no-op from the Response constructor
Found in #479.
1 parent 948505d commit 90cd540

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

fetch.bs

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5096,19 +5096,9 @@ constructor, when invoked, must run these steps:
50965096
<a for=response>status message</a> to
50975097
<var>init</var>'s <code>statusText</code> member.
50985098

5099-
<li>
5100-
<p>If <var>init</var>'s <code>headers</code> member is present, run these
5101-
substeps:
5102-
5103-
<ol>
5104-
<li><p>Empty <var>r</var>'s
5105-
<a for=Response>response</a>'s
5106-
<a for=response>header list</a>.
5107-
5108-
<li><p><a lt=fill for=Headers>Fill</a> <var>r</var>'s
5109-
{{Headers}} object with <var>init</var>'s <code>headers</code>
5110-
member. Rethrow any exceptions.
5111-
</ol>
5099+
<li><p>If <var>init</var>'s <code>headers</code> member is present, then <a for=Headers>fill</a>
5100+
<var>r</var>'s {{Headers}} object with <var>init</var>'s <code>headers</code> member. Rethrow any
5101+
exceptions.
51125102

51135103
<li>
51145104
<p>If <var>body</var> is non-null, run these substeps:

0 commit comments

Comments
 (0)