Skip to content

Commit 35a3ec0

Browse files
chore: tidy up index.html (#294)
Co-authored-by: noamr <noamr@users.noreply.github.com>
1 parent f9b2bb6 commit 35a3ec0

File tree

1 file changed

+56
-40
lines changed

1 file changed

+56
-40
lines changed

‎index.html

Lines changed: 56 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -290,18 +290,22 @@ <h3>
290290
This section is non-normative.
291291
</p>
292292
<p>
293-
Resource [=Request=]s [=fetch=]ed by a non-null [=request/client=] are included as
294-
<a>PerformanceResourceTiming</a> objects in the [=request/client=]'s
295-
[=environment settings object/global object=]'s <a data-cite=
296-
"PERFORMANCE-TIMELINE-2#performance-timeline">Performance Timeline</a>, unless excluded
297-
from the timeline as part of the [=fetch|fetching process=]. Resources that are retrieved
298-
from <a data-cite="HTML#relevant-application-cache">relevant application caches</a> or
299-
local resources are included as <a>PerformanceResourceTiming</a> objects in the
300-
<a data-cite="PERFORMANCE-TIMELINE-2#performance-timeline">Performance Timeline</a>.
301-
Resources for which the [=fetch=] was initiated, but was later aborted (e.g. due to a
302-
network error) are included as <a>PerformanceResourceTiming</a> objects in the
303-
<a data-cite="PERFORMANCE-TIMELINE-2#performance-timeline">Performance Timeline</a>, with
304-
their start and end timing.
293+
Resource [=Request=]s [=fetch=]ed by a non-null [=request/client=]
294+
are included as <a>PerformanceResourceTiming</a> objects in the
295+
[=request/client=]'s [=environment settings object/global object=]'s
296+
<a data-cite=
297+
"PERFORMANCE-TIMELINE-2#performance-timeline">Performance
298+
Timeline</a>, unless excluded from the timeline as part of the
299+
[=fetch|fetching process=]. Resources that are retrieved from
300+
<a data-cite="HTML#relevant-application-cache">relevant application
301+
caches</a> or local resources are included as
302+
<a>PerformanceResourceTiming</a> objects in the <a data-cite=
303+
"PERFORMANCE-TIMELINE-2#performance-timeline">Performance
304+
Timeline</a>. Resources for which the [=fetch=] was initiated, but
305+
was later aborted (e.g. due to a network error) are included as
306+
<a>PerformanceResourceTiming</a> objects in the <a data-cite=
307+
"PERFORMANCE-TIMELINE-2#performance-timeline">Performance
308+
Timeline</a>, with their start and end timing.
305309
</p>
306310
<p>
307311
Examples:
@@ -473,10 +477,10 @@ <h3>
473477
info/start time=] and <a>this</a>'s <a>relevant global
474478
object</a>.
475479
</p>
476-
477480
<p class='note'>
478-
`startTime` is measured right at the start of the [=fetch=], before any redirects.
479-
See <a data-cite="FETCH#fetching">fetching</a>.
481+
`startTime` is measured right at the start of the [=fetch=],
482+
before any redirects. See <a data-cite=
483+
"FETCH#fetching">fetching</a>.
480484
</p>
481485
</dd>
482486
<dt>
@@ -500,32 +504,44 @@ <h3>
500504
<dfn>initiatorType</dfn> getter steps are to return the <a data-for=
501505
"PerformanceResourceTiming">initiator type</a> for <a>this</a>.
502506
</p>
503-
<p class='note'>`initiatorType` returns one of the following values:
504-
<ul class='note'>
505-
<li>The same value as the {{Element/localName}} of an [=element=], if the request is a
506-
result of processing an HTML element;</li>
507-
508-
<li><dfn>"css"</dfn>, if the request is a result of processing a CSS
507+
<p class='note'>
508+
`initiatorType` returns one of the following values:
509+
</p>
510+
<ul class='note'>
511+
<li>The same value as the {{Element/localName}} of an [=element=], if
512+
the request is a result of processing an HTML element;
513+
</li>
514+
<li>
515+
<dfn>"css"</dfn>, if the request is a result of processing a CSS
509516
<a data-xref-type="css-function">url()</a> directive such as
510-
<code>@import url()</code> or <code>background: url()</code>; [[CSS-VALUES]]</li>
511-
512-
<li><dfn>"navigation"</dfn>, if the request is a [=navigation request=];</li>
513-
514-
<li><dfn>"xmlhttprequest"</dfn>, if the request is a result of processing an
515-
{{XMLHttpRequest}};</li>
516-
517-
<li><dfn>"fetch"</dfn>, if the request is the result of processing the
518-
{{WindowOrWorkerGlobalScope/fetch()}} method;</li>
519-
520-
<li><dfn>"beacon"</dfn>, if the request is the result of processing the
521-
{{Navigator/sendBeacon()}} method; [[BEACON]]</li>
522-
523-
<li><dfn>"other"</dfn>, if none of the above conditions match.</li>
524-
</ul>
525-
<p class='note'>The setting of `initiatorType` is done at the different places where a resource timing
526-
entry is reported, such as the [=fetch=] standard.
527-
528-
<p data-dfn-for="PerformanceResourceTiming">
517+
<code>@import url()</code> or <code>background: url()</code>;
518+
[[CSS-VALUES]]
519+
</li>
520+
<li>
521+
<dfn>"navigation"</dfn>, if the request is a [=navigation
522+
request=];
523+
</li>
524+
<li>
525+
<dfn>"xmlhttprequest"</dfn>, if the request is a result of
526+
processing an {{XMLHttpRequest}};
527+
</li>
528+
<li>
529+
<dfn>"fetch"</dfn>, if the request is the result of processing the
530+
{{WindowOrWorkerGlobalScope/fetch()}} method;
531+
</li>
532+
<li>
533+
<dfn>"beacon"</dfn>, if the request is the result of processing the
534+
{{Navigator/sendBeacon()}} method; [[BEACON]]
535+
</li>
536+
<li>
537+
<dfn>"other"</dfn>, if none of the above conditions match.
538+
</li>
539+
</ul>
540+
<p class='note'>
541+
The setting of `initiatorType` is done at the different places where
542+
a resource timing entry is reported, such as the [=fetch=] standard.
543+
</p>
544+
<p data-dfn-for="PerformanceResourceTiming">
529545
The <dfn>workerStart</dfn> getter steps are to <a>convert fetch
530546
timestamp</a> for <a>this</a>'s <a data-for=
531547
"PerformanceResourceTiming">timing info</a>'s [=fetch timing

0 commit comments

Comments
 (0)