Skip to content

Commit 3b51fc4

Browse files
authored
Clean up unused definitions and other respec errors (#310)
* [chore] Fix up tidy errors * chore: tidy up index.html * Clean up unused definitiona and other respec errors * Fix up CSS ref * Review comments Co-authored-by: yoavweiss <yoavweiss@users.noreply.github.com>
1 parent dc1f469 commit 3b51fc4

File tree

1 file changed

+29
-57
lines changed

1 file changed

+29
-57
lines changed

‎index.html

Lines changed: 29 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -212,38 +212,6 @@ <h2>
212212
actually an interface, is sometimes used instead of the more accurate
213213
"an object implementing the interface <code>Foo</code>.
214214
</p>
215-
<p>
216-
The term <dfn>DOM</dfn> is used to refer to the API set made available
217-
to scripts in Web applications, and does not necessarily imply the
218-
existence of an actual [=Document=] object or of any other [=Node=]
219-
objects as defined in the [[DOM]] specification.
220-
</p>
221-
<p>
222-
A DOM attribute is said to be <dfn>getting</dfn> when its value is
223-
being retrieved (such as by author script), and is said to be
224-
<dfn>setting</dfn> when a new value is assigned to it.
225-
</p>
226-
<p>
227-
The term <dfn>JavaScript</dfn> is used to refer to ECMA262, rather than
228-
the official term ECMAScript, since the term JavaScript is more widely
229-
known. [[ECMASCRIPT]]
230-
</p>
231-
<p>
232-
The term <dfn>resource</dfn> is used to refer to elements and any other
233-
user-initiated fetches throughout this specification. For example, a
234-
resource could originate from XMLHttpRequest objects [[XHR]], HTML
235-
elements [[HTML]] such as iframe, img, script, object, embed, and link
236-
with the link type of stylesheet, and SVG elements [[SVG11]] such as
237-
svg.
238-
</p>
239-
<p>
240-
The term <dfn>cross-origin</dfn> is used to mean non [=same origin=].
241-
</p>
242-
<p>
243-
The term <dfn>current document</dfn> refers to the document associated
244-
with the <a data-cite="HTML#concept-document-window">Window object's
245-
newest Document object</a>.
246-
</p>
247215
<p>
248216
Throughout this work, all time values are measured in milliseconds
249217
since the start of navigation of the document [[HR-TIME-2]]. For
@@ -504,71 +472,72 @@ <h3>
504472
</p>
505473
<ul>
506474
<li>
507-
<dfn>"navigation"</dfn>, if the request is a [=navigation
475+
<code>"navigation"</code>, if the request is a [=navigation
508476
request=];
509477
</li>
510478
<li>
511-
<dfn>"css"</dfn>, if the request is a result of processing a CSS
512-
<a data-xref-type="css-function">url()</a> directive such as
479+
<code>"css"</code>, if the request is a result of processing a CSS
480+
<a data-cite="css-values-4"
481+
data-xref-type="css-function">url()</a> directive such as
513482
<code>@import url()</code> or <code>background: url()</code>;
514483
[[CSS-VALUES]]
515484
</li>
516485
<li>
517-
<dfn>"script"</dfn>, if the request is a result of loading any
486+
<code>"script"</code>, if the request is a result of loading any
518487
<a data-cite="HTML#concept-script">script</a> (a classic
519488
[^script^], a [=module script=], or a {{Worker}}).
520489
</li>
521490
<li>
522-
<dfn>"xmlhttprequest"</dfn>, if the request is a result of
491+
<code>"xmlhttprequest"</code>, if the request is a result of
523492
processing an {{XMLHttpRequest}};
524493
</li>
525494
<li>
526-
<dfn>"fetch"</dfn>, if the request is the result of processing
495+
<code>"fetch"</code>, if the request is the result of processing
527496
the {{WindowOrWorkerGlobalScope/fetch()}} method;
528497
</li>
529498
<li>
530-
<dfn>"beacon"</dfn>, if the request is the result of processing
499+
<code>"beacon"</code>, if the request is the result of processing
531500
the {{Navigator/sendBeacon()}} method; [[BEACON]]
532501
</li>
533502
<li>
534-
<dfn>"video"</dfn>, if the request is the result of processing
503+
<code>"video"</code>, if the request is the result of processing
535504
the [^video^] element's [^video/poster^] or [^video/src^].
536505
</li>
537506
<li>
538-
<dfn>"audio"</dfn>, if the request is the result of processing
507+
<code>"audio"</code>, if the request is the result of processing
539508
the [^audio^] element's [^audio/src^].
540509
</li>
541510
<li>
542-
<dfn>"track"</dfn>, if the request is the result of processing
511+
<code>"track"</code>, if the request is the result of processing
543512
the [^track^] element's [^track/src^].
544513
</li>
545514
<li>
546-
<dfn>"img"</dfn>, if the request is the result of processing the
515+
<code>"img"</code>, if the request is the result of processing the
547516
[^img^] element's [^img/src^] or [^img/srcset^].
548517
</li>
549518
<li>
550-
<dfn>"image"</dfn>, if the request is the result of processing
519+
<code>"image"</code>, if the request is the result of processing
551520
the <a data-cite="SVG2/embedded.html#ImageElement">image</a>
552521
element. [[SVG2]]
553522
</li>
554523
<li>
555-
<dfn>"input"</dfn>, if the request is the result of processing an
524+
<code>"input"</code>, if the request is the result of processing an
556525
[^input^] element of [^input/type^] [^input/type/image^].
557526
</li>
558527
<li>
559-
<dfn>"a"</dfn>, if the request is the result of processing an
528+
<code>"a"</code>, if the request is the result of processing an
560529
[^a^] element's [^a/download^] or [^a/ping^].
561530
</li>
562531
<li>
563-
<dfn>"iframe"</dfn>, if the request is the result of processing
532+
<code>"iframe"</code>, if the request is the result of processing
564533
an [^iframe^]'s [^iframe/src^].
565534
</li>
566535
<li>
567-
<dfn>"frame"</dfn>, if the request is the result of loading a
536+
<code>"frame"</code>, if the request is the result of loading a
568537
[^frame^].
569538
</li>
570539
<li>
571-
<dfn>"other"</dfn>, if none of the above conditions match.
540+
<code>"other"</code>, if none of the above conditions match.
572541
</li>
573542
</ul>
574543
</div>
@@ -811,7 +780,7 @@ <h3>
811780
</ol>
812781
<p>
813782
The attribute <dfn>onresourcetimingbufferfull</dfn> is the event
814-
handler for the <dfn>resourcetimingbufferfull</dfn> event described
783+
handler for the <code>resourcetimingbufferfull</code> event described
815784
below.
816785
</p>
817786
<p>
@@ -967,8 +936,7 @@ <h3>
967936
Server-side applications may return the <a>Timing-Allow-Origin</a>
968937
HTTP response header to allow the User Agent to fully expose, to the
969938
document origin(s) specified, the values of attributes that would
970-
have been zero due to the <a>cross-origin</a> restrictions previously
971-
specified in this section.
939+
have been zero due to those cross-origin restrictions.
972940
</p>
973941
<section id="sec-timing-allow-origin">
974942
<h4>
@@ -1057,7 +1025,7 @@ <h3>
10571025
<p>
10581026
The following graph illustrates the timing attributes defined by the
10591027
PerformanceResourceTiming interface. Attributes in parenthesis may
1060-
not be available when [=fetch|fetching=] <a>cross-origin</a>
1028+
not be available when [=fetch|fetching=] cross-origin
10611029
resources. User agents may perform internal processing in between
10621030
timings, which allow for non-normative intervals between timings.
10631031
</p>
@@ -1097,7 +1065,7 @@ <h2>
10971065
"PERFORMANCE-TIMELINE-2#dfn-queue-a-performanceentry">Queue</a>
10981066
|entry|.
10991067
</li>
1100-
<li>Add |entry| to |global|'s <a data-cite=
1068+
<li>[=Add a PerformanceResourceTiming entry|Add=] |entry| to |global|'s <a data-cite=
11011069
"PERFORMANCE-TIMELINE-2#dfn-performance-entry-buffer">performance
11021070
entry buffer</a>.
11031071
</li>
@@ -1138,9 +1106,9 @@ <h2>
11381106
</li>
11391107
</ol>
11401108
</section>
1141-
<section id="sec-privacy-security" class='informative'>
1109+
<section id="sec-security" class='informative'>
11421110
<h2>
1143-
Privacy and Security
1111+
Security Considerations
11441112
</h2>
11451113
<p>
11461114
The <a>PerformanceResourceTiming</a> interface exposes timing
@@ -1154,13 +1122,17 @@ <h2>
11541122
HTTP response header, which specifies the domains that are allowed to
11551123
access the timing information.
11561124
</p>
1125+
<section id="sec-privacy" class='informative'>
1126+
<h2>
1127+
Privacy Considerations
1128+
</h2>
11571129
<p>
11581130
Statistical fingerprinting is a privacy concern where a malicious web
11591131
site may determine whether a user has visited a third-party web site
11601132
by measuring the timing of cache hits and misses of resources in the
11611133
third-party web site. Though the <a>PerformanceResourceTiming</a>
11621134
interface gives timing information for resources in a document, the
1163-
cross-origin restrictions in in [=/HTTP Fetch=] prevent making this
1135+
cross-origin restrictions in [=/HTTP Fetch=] prevent making this
11641136
privacy concern any worse than it is today using the load event on
11651137
resources to measure timing to determine cache hits and misses.
11661138
</p>

0 commit comments

Comments
 (0)