Skip to content

Commit

Permalink
Be more specific about initiator types (#300)
Browse files Browse the repository at this point in the history
* Be more specific about initiator types

* Add frame and frameset
  • Loading branch information
noamr committed Oct 4, 2021
1 parent 712fd8c commit 2b05f4d
Showing 1 changed file with 42 additions and 4 deletions.
46 changes: 42 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,9 @@ <h3>
`initiatorType` returns one of the following values:
</p>
<ul class='note'>
<li>The same value as the {{Element/localName}} of an [=element=], if
the request is a result of processing an HTML element;
<li>
<dfn>"navigation"</dfn>, if the request is a [=navigation
request=];
</li>
<li>
<dfn>"css"</dfn>, if the request is a result of processing a CSS
Expand All @@ -512,8 +513,9 @@ <h3>
[[CSS-VALUES]]
</li>
<li>
<dfn>"navigation"</dfn>, if the request is a [=navigation
request=];
<dfn>"script"</dfn>, if the request is a result of loading any
<a data-cite="HTML#concept-script">script</a> (a classic [^script^], a
[=module script=], or a {{Worker}}).
</li>
<li>
<dfn>"xmlhttprequest"</dfn>, if the request is a result of
Expand All @@ -527,6 +529,42 @@ <h3>
<dfn>"beacon"</dfn>, if the request is the result of processing the
{{Navigator/sendBeacon()}} method; [[BEACON]]
</li>
<li>
<dfn>"video"</dfn>, if the request is the result of processing the
[^video^] element's [^video/poster^] or [^video/src^].
</li>
<li>
<dfn>"audio"</dfn>, if the request is the result of processing the
[^audio^] element's [^audio/src^].
</li>
<li>
<dfn>"track"</dfn>, if the request is the result of processing the
[^track^] element's [^track/src^].
</li>
<li>
<dfn>"img"</dfn>, if the request is the result of processing the
[^img^] element's [^img/src^] or [^img/srcset^].
</li>
<li>
<dfn>"image"</dfn>, if the request is the result of processing the
<a data-cite=
"SVG2/embedded.html#ImageElement">image</a> element. [[SVG2]]
</li>
<li>
<dfn>"input"</dfn>, if the request is the result of processing an
[^input^] element of [^input/type^] [^input/type/image^].
</li>
<li>
<dfn>"a"</dfn>, if the request is the result of processing an
[^a^] element's [^a/download^] or [^a/ping^].
</li>
<li>
<dfn>"iframe"</dfn>, if the request is the result of processing an [^iframe^]'s
[^iframe/src^].
</li>
<li>
<dfn>"frame"</dfn>, if the request is the result of loading a [^frame^].
</li>
<li>
<dfn>"other"</dfn>, if none of the above conditions match.
</li>
Expand Down

0 comments on commit 2b05f4d

Please sign in to comment.