Skip to content

Commit eb1c440

Browse files
committed
Create AbortSignal earlier in new Request()
This regressed in 987c3fd. Fixes whatwg#1249.
1 parent acef461 commit eb1c440

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

fetch.bs

+4-3
Original file line numberDiff line numberDiff line change
@@ -6880,6 +6880,9 @@ constructor steps are:
68806880

68816881
<li><p>Set <a>this</a>'s <a for=Request>request</a> to <var>request</var>.
68826882

6883+
<li><p>Set <a>this</a>'s <a for=Request>signal</a> to a <a for=/>new</a> {{AbortSignal}} object
6884+
with <a>this</a>'s <a>relevant Realm</a>.
6885+
68836886
<li><p>If <var>signal</var> is not null, then make <a>this</a>'s <a for=Request>signal</a>
68846887
<a for=AbortSignal>follow</a> <var>signal</var>.
68856888

@@ -6987,9 +6990,6 @@ constructor steps are:
69876990

69886991
<li><p>Set <a>this</a>'s <a for=Request>request</a>'s <a for=request>body</a> to
69896992
<var>finalBody</var>.
6990-
6991-
<li><p>Set <a>this</a>'s <a for=Request>signal</a> to a <a for=/>new</a> {{AbortSignal}} object
6992-
with <a>this</a>'s <a>relevant Realm</a>.
69936993
</ol>
69946994

69956995
<p>The <dfn attribute for=Request><code>method</code></dfn> getter steps are to return <a>this</a>'s
@@ -7893,6 +7893,7 @@ Lachlan Hunt,
78937893
Larry Masinter,
78947894
Liam Brummitt,
78957895
Louis Ryan,
7896+
Luca Casonato,
78967897
Lucas Gonze,
78977898
Łukasz Anforowicz,
78987899
呂康豪 (Kang-Hao Lu),

0 commit comments

Comments
 (0)