Skip to content

Commit 7bcd470

Browse files
committed
Fixups
1 parent 65c440f commit 7bcd470

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
@@ -3837,7 +3837,7 @@ NetworkFetchTimingInfo = {
38373837
connectStart: uint,
38383838
connectEnd: uint,
38393839
tlsStart: uint,
3840-
tlsEnd: uint,
3840+
<!-- tlsEnd: uint this should be the same as connectEnd -->
38413841
requestStart: uint,
38423842
responseStart: uint,
38433843
<!-- TODO responseHeadersEnd: uint: Not sure quite what to use for this -->
@@ -3862,7 +3862,7 @@ To <dfn>get the fetch timings</div> given |request|:
38623862
it's not null, or a new [=connection timing info=] otherwise.
38633863
38643864
1. Let |request time| be [=convert fetch timestamp=] given [=convert fetch
3865-
timestamp=] given |timing|'s [=fetch/start time=] and |global|.
3865+
timestamp=] given |timing|'s <a spec=fetch>start time</a> and |global|.
38663866
38673867
1. Let |redirect start| be [=convert fetch timestamp=] given |timing|'s
38683868
[=redirect start time=] and |global|.
@@ -3882,9 +3882,6 @@ To <dfn>get the fetch timings</div> given |request|:
38823882
1. Let |TLS start| be [=convert fetch timestamp=] given |connection timing|'s
38833883
[=secure connection start time=] and |global|.
38843884
3885-
1. Let |TLS end| be [=convert fetch timestamp=] given |connection timing|'s
3886-
[=secure connection end time=] and |global|.
3887-
38883885
1. Let |connect start| be [=convert fetch timestamp=] given |connection
38893886
timing|'s [=connection start time=] and |global|.
38903887
@@ -3898,7 +3895,7 @@ To <dfn>get the fetch timings</div> given |request|:
38983895
network-response start time=] and |global|.
38993896
39003897
1. Let |response end| be [=convert fetch timestamp=] given |timing|'s
3901-
[=fetch/end time=] and |global|.
3898+
<a spec=fetch>end time</a> and |global|.
39023899
39033900
1. Return a [=map=] matching the <code>NetworkFetchTimingInfo</code> production
39043901
with the <code>requestTime</code> field set to |request time|, the
@@ -3908,10 +3905,10 @@ To <dfn>get the fetch timings</div> given |request|:
39083905
<code>dnsStart</code> field set to |DNS start|, the <code>dnsEnd</code>
39093906
field set to |DNS end|, the <code>connectStart</code> field set to |connect
39103907
start|, the <code>connectEnd</code> field set to |connect end|, the
3911-
<code>tlsStart</code> field set to |TLS start|, the <code>tlsEnd</code>
3912-
field set to |TLS end|, the <code>requestStart</code> field set to |request
3913-
start|, the <code>responseStart</code> field set to |response start|, and
3914-
the <code>responseEnd</code> field set to |response end|.
3908+
<code>tlsStart</code> field set to |TLS start|, the
3909+
<code>requestStart</code> field set to |request start|, the
3910+
<code>responseStart</code> field set to |response start|, and the
3911+
<code>responseEnd</code> field set to |response end|.
39153912
39163913
</div>
39173914
@@ -3986,15 +3983,15 @@ To <dfn>get the initiator</dfn> given |request|:
39863983

39873984
1. Let |type| be "<code>other</code>".
39883985

3989-
1. If |request| is a [=CORS Preflight Request=], set |type| to
3986+
1. If |request| is a [=CORS-Preflight Request=], set |type| to
39903987
"<code>preflight</code>".
39913988

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

3997-
1. If |request|'s [=request/initiator-type=] is "<code>fetch</code>" or
3994+
1. If |request|'s [=request/initiator type=] is "<code>fetch</code>" or
39983995
"<code>xmlhttprequest</code>":
39993996

40003997
1. Let |stack trace| be the [=current stack trace=].
@@ -4225,7 +4222,7 @@ request sent</dfn> steps given |request|:
42254222
1. Let (|related browsing contexts|, |params|) be the result of [=get the base
42264223
network event data=] given |request|.
42274224

4228-
1. Let |initiator| be the result of [=get an initiator=] with |request|.
4225+
1. Let |initiator| be the result of [=get the initiator=] with |request|.
42294226

42304227
1. Set the <code>initiatior</code> field of |params| to |initiator|.
42314228

0 commit comments

Comments
 (0)