Skip to content

Commit de14ff2

Browse files
committed
Fixups
1 parent 6aa9ba0 commit de14ff2

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

index.bs

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3768,7 +3768,7 @@ NetworkFetchTimingInfo = {
37683768
connectStart: uint,
37693769
connectEnd: uint,
37703770
tlsStart: uint,
3771-
tlsEnd: uint,
3771+
<!-- tlsEnd: uint this should be the same as connectEnd -->
37723772
requestStart: uint,
37733773
responseStart: uint,
37743774
<!-- TODO responseHeadersEnd: uint: Not sure quite what to use for this -->
@@ -3793,7 +3793,7 @@ To <dfn>get the fetch timings</div> given |request|:
37933793
it's not null, or a new [=connection timing info=] otherwise.
37943794
37953795
1. Let |request time| be [=convert fetch timestamp=] given [=convert fetch
3796-
timestamp=] given |timing|'s [=fetch/start time=] and |global|.
3796+
timestamp=] given |timing|'s <a spec=fetch>start time</a> and |global|.
37973797
37983798
1. Let |redirect start| be [=convert fetch timestamp=] given |timing|'s
37993799
[=redirect start time=] and |global|.
@@ -3813,9 +3813,6 @@ To <dfn>get the fetch timings</div> given |request|:
38133813
1. Let |TLS start| be [=convert fetch timestamp=] given |connection timing|'s
38143814
[=secure connection start time=] and |global|.
38153815
3816-
1. Let |TLS end| be [=convert fetch timestamp=] given |connection timing|'s
3817-
[=secure connection end time=] and |global|.
3818-
38193816
1. Let |connect start| be [=convert fetch timestamp=] given |connection
38203817
timing|'s [=connection start time=] and |global|.
38213818
@@ -3829,7 +3826,7 @@ To <dfn>get the fetch timings</div> given |request|:
38293826
network-response start time=] and |global|.
38303827
38313828
1. Let |response end| be [=convert fetch timestamp=] given |timing|'s
3832-
[=fetch/end time=] and |global|.
3829+
<a spec=fetch>end time</a> and |global|.
38333830
38343831
1. Return a [=map=] matching the <code>NetworkFetchTimingInfo</code> production
38353832
with the <code>requestTime</code> field set to |request time|, the
@@ -3839,10 +3836,10 @@ To <dfn>get the fetch timings</div> given |request|:
38393836
<code>dnsStart</code> field set to |DNS start|, the <code>dnsEnd</code>
38403837
field set to |DNS end|, the <code>connectStart</code> field set to |connect
38413838
start|, the <code>connectEnd</code> field set to |connect end|, the
3842-
<code>tlsStart</code> field set to |TLS start|, the <code>tlsEnd</code>
3843-
field set to |TLS end|, the <code>requestStart</code> field set to |request
3844-
start|, the <code>responseStart</code> field set to |response start|, and
3845-
the <code>responseEnd</code> field set to |response end|.
3839+
<code>tlsStart</code> field set to |TLS start|, the
3840+
<code>requestStart</code> field set to |request start|, the
3841+
<code>responseStart</code> field set to |response start|, and the
3842+
<code>responseEnd</code> field set to |response end|.
38463843
38473844
</div>
38483845
@@ -3917,15 +3914,15 @@ To <dfn>get the initiator</dfn> given |request|:
39173914

39183915
1. Let |type| be "<code>other</code>".
39193916

3920-
1. If |request| is a [=CORS Preflight Request=], set |type| to
3917+
1. If |request| is a [=CORS-Preflight Request=], set |type| to
39213918
"<code>preflight</code>".
39223919

39233920
1. TODO: Get the |type|. It's not quite clear how this ought to work; the CDP
39243921
data depends on whether the navigation was kicked off by the parser or by
39253922
script (so e.g. inserting an image from script causes the initiator to be
39263923
"<code>script</code>"), but that doesn't correspond to anything in Fetch.
39273924

3928-
1. If |request|'s [=request/initiator-type=] is "<code>fetch</code>" or
3925+
1. If |request|'s [=request/initiator type=] is "<code>fetch</code>" or
39293926
"<code>xmlhttprequest</code>":
39303927

39313928
1. Let |stack trace| be the [=current stack trace=].
@@ -4156,7 +4153,7 @@ request sent</dfn> steps given |request|:
41564153
1. Let (|related browsing contexts|, |params|) be the result of [=get the base
41574154
network event data=] given |request|.
41584155

4159-
1. Let |initiator| be the result of [=get an initiator=] with |request|.
4156+
1. Let |initiator| be the result of [=get the initiator=] with |request|.
41604157

41614158
1. Set the <code>initiatior</code> field of |params| to |initiator|.
41624159

0 commit comments

Comments
 (0)