Skip to content

Commit

Permalink
Report Resource Timing for <object> and <embed>
Browse files Browse the repository at this point in the history
Part of whatwg#6542.
  • Loading branch information
noamr authored and mfreed7 committed Jun 3, 2022
1 parent 6b6a432 commit ad29552
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -31758,13 +31758,16 @@ interface <dfn interface>HTMLEmbedElement</dfn> : <span>HTMLElement</span> {
data-x="">include</code>", <span data-x="concept-request-mode">mode</span> is "<code
data-x="">navigate</code>", and whose <span>use-URL-credentials flag</span> is set.</p></li>

<li>
<p><span data-x="concept-fetch">Fetch</span> <var>request</var>.</p>

<p>Fetching the resource must <span>delay the load event</span> of <var>element</var>'s
<span>node document</span>.</p>
<li><p>Let <var>processResponseEndOfBody</var> given <span
data-x="concept-response">response</span> <var>res</var> be to <span>finalize and report
timing</span> with <var>res</var>, <var>element</var>'s <span>node document</span>'s
<span>relevant global object</span>, and "<code data-x="">embed</code>".</p></li>

<p>To <span>process response</span> for the <span data-x="concept-response">response</span>
<li>
<p><span data-x="concept-fetch">Fetch</span> <var>request</var>, with <i
data-x="processResponseEndOfBody">processResponseEndOfBody</i> set to
<var>processResponseEndOfBody</var>, and <i data-x="process response">processResponse</i> set
to the following steps given <span data-x="concept-response">response</span>
<var>response</var>:</p>

<ol>
Expand Down Expand Up @@ -31828,6 +31831,9 @@ interface <dfn interface>HTMLEmbedElement</dfn> : <span>HTMLElement</span> {
</ol>
</li>
</ol>

<p>Fetching the resource must <span>delay the load event</span> of <var>element</var>'s
<span>node document</span>.</p>
</li>

<li>
Expand Down Expand Up @@ -32222,7 +32228,11 @@ interface <dfn interface>HTMLObjectElement</dfn> : <span>HTMLElement</span> {
data-x="">navigate</code>", and whose <span>use-URL-credentials flag</span> is set.</p></li>

<li>
<!--FETCH--><p><span data-x="concept-fetch">Fetch</span> <var>request</var>.</p>
<!--FETCH--><p><span data-x="concept-fetch">Fetch</span> <var>request</var>, with <i
data-x="processResponseEndOfBody">processResponseEndOfBody</i> given <span
data-x="concept-response">response</span> <var>res</var> set to <span>finalize and report
timing</span> with <var>res</var>, the element's <span>node document</span>'s
<span>relevant global object</span>, and "<code data-x="">object</code>".</p>

<!-- similar text in various places -->
<p>Fetching the resource must <span>delay the load event</span> of the element's <span>node
Expand Down

0 comments on commit ad29552

Please sign in to comment.