Skip to content

Commit 2b05f4d

Browse files
authored
Be more specific about initiator types (#300)
* Be more specific about initiator types * Add frame and frameset
1 parent 712fd8c commit 2b05f4d

File tree

1 file changed

+42
-4
lines changed

1 file changed

+42
-4
lines changed

‎index.html

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,9 @@ <h3>
502502
`initiatorType` returns one of the following values:
503503
</p>
504504
<ul class='note'>
505-
<li>The same value as the {{Element/localName}} of an [=element=], if
506-
the request is a result of processing an HTML element;
505+
<li>
506+
<dfn>"navigation"</dfn>, if the request is a [=navigation
507+
request=];
507508
</li>
508509
<li>
509510
<dfn>"css"</dfn>, if the request is a result of processing a CSS
@@ -512,8 +513,9 @@ <h3>
512513
[[CSS-VALUES]]
513514
</li>
514515
<li>
515-
<dfn>"navigation"</dfn>, if the request is a [=navigation
516-
request=];
516+
<dfn>"script"</dfn>, if the request is a result of loading any
517+
<a data-cite="HTML#concept-script">script</a> (a classic [^script^], a
518+
[=module script=], or a {{Worker}}).
517519
</li>
518520
<li>
519521
<dfn>"xmlhttprequest"</dfn>, if the request is a result of
@@ -527,6 +529,42 @@ <h3>
527529
<dfn>"beacon"</dfn>, if the request is the result of processing the
528530
{{Navigator/sendBeacon()}} method; [[BEACON]]
529531
</li>
532+
<li>
533+
<dfn>"video"</dfn>, if the request is the result of processing the
534+
[^video^] element's [^video/poster^] or [^video/src^].
535+
</li>
536+
<li>
537+
<dfn>"audio"</dfn>, if the request is the result of processing the
538+
[^audio^] element's [^audio/src^].
539+
</li>
540+
<li>
541+
<dfn>"track"</dfn>, if the request is the result of processing the
542+
[^track^] element's [^track/src^].
543+
</li>
544+
<li>
545+
<dfn>"img"</dfn>, if the request is the result of processing the
546+
[^img^] element's [^img/src^] or [^img/srcset^].
547+
</li>
548+
<li>
549+
<dfn>"image"</dfn>, if the request is the result of processing the
550+
<a data-cite=
551+
"SVG2/embedded.html#ImageElement">image</a> element. [[SVG2]]
552+
</li>
553+
<li>
554+
<dfn>"input"</dfn>, if the request is the result of processing an
555+
[^input^] element of [^input/type^] [^input/type/image^].
556+
</li>
557+
<li>
558+
<dfn>"a"</dfn>, if the request is the result of processing an
559+
[^a^] element's [^a/download^] or [^a/ping^].
560+
</li>
561+
<li>
562+
<dfn>"iframe"</dfn>, if the request is the result of processing an [^iframe^]'s
563+
[^iframe/src^].
564+
</li>
565+
<li>
566+
<dfn>"frame"</dfn>, if the request is the result of loading a [^frame^].
567+
</li>
530568
<li>
531569
<dfn>"other"</dfn>, if none of the above conditions match.
532570
</li>

0 commit comments

Comments
 (0)