Skip to content

Commit f2305f2

Browse files
authored
Remove SHOULD from non-normative example (#296)
Closes #243
1 parent 6f9e648 commit f2305f2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

‎index.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ <h3>
308308
<ul>
309309
<li>If the same canonical URL is used as the <code>src</code>
310310
attribute of two HTML <code>IMG</code> elements, the [=fetch=] of the
311-
resource initiated by the first HTML <code>IMG</code> element SHOULD
311+
resource initiated by the first HTML <code>IMG</code> element would
312312
be included as a <a>PerformanceResourceTiming</a> object in the
313313
<a data-cite=
314314
"PERFORMANCE-TIMELINE-2#performance-timeline">Performance
@@ -371,16 +371,14 @@ <h3>
371371
</li>
372372
<li>If a resource <a data-cite="FETCH#concept-fetch">fetch</a> was
373373
aborted due to a networking error (e.g. DNS, TCP, or TLS error), then
374-
the fetch MAY be included as a <a>PerformanceResourceTiming</a>
374+
the fetch will be included as a <a>PerformanceResourceTiming</a>
375375
object in the <a data-cite=
376376
"PERFORMANCE-TIMELINE-2#performance-timeline">Performance
377-
Timeline</a> with initialized attribute values up to the point of
378-
failure - e.g. a TCP handshake error should report DNS timestamps for
379-
the request, and so on.
377+
Timeline</a> with only the `startTime`, `fetchStart`, `duration` and `responseEnd` set.
380378
</li>
381379
<li>If a resource <a data-cite="FETCH#concept-fetch">fetch</a> is
382380
aborted because it failed a fetch precondition (e.g. mixed content,
383-
CORS restriction, CSP policy, etc), then this resource SHOULD NOT not
381+
CORS restriction, CSP policy, etc), then this resource will not
384382
be included as a <a>PerformanceResourceTiming</a> object in the
385383
<a data-cite=
386384
"PERFORMANCE-TIMELINE-2#performance-timeline">Performance

0 commit comments

Comments
 (0)