Skip to content

Commit

Permalink
Be explicit about early-hint timing global
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Jun 7, 2022
1 parent 91e4160 commit b6eeb79
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -26541,9 +26541,13 @@ document.body.appendChild(wbr);</code></pre>
<li><p>Let <var>key</var> be the result of <span data-x="create a preload key">creating a
preload key</span> given <var>request</var>.</p></li>

<li><p>Let <var>initiatorType</var> be "<code data-x="">early hint</code>" if
<var>options</var>'s <span data-x="link options document">document</span> is "<code
data-x="">pending</code>", otherwise "<code data-x="">link</code>".</p></li>
<li><p>Let <var>initiatorType</var> be "<code data-x="">link</code>".</p></li>

<li><p>Let <var>timingGlobal</var> be "<code data-x="">client</code>".</p></li>

<li><p>If <var>options</var>'s <span data-x="link options document">document</span> is "<code
data-x="">pending</code>", then set <var>initiatorType</var> to "<code
data-x="">early hint</code>" and set <var>timingGlobal</var> to null.</p></li>

<li><p>Let <var>controller</var> be null.</p></li>

Expand All @@ -26554,7 +26558,8 @@ document.body.appendChild(wbr);</code></pre>
<li>
<p><!--FETCH-->Set <var>controller</var> to the result of <span
data-x="concept-fetch">fetching</span> <var>request</var>, with <i
data-x="initiatorType">initiatorType</i> set to <var>initiatorType</var> and <i
data-x="initiatorType">initiatorType</i> set to <var>initiatorType</var>, <i
data-x="timingGlobal">timingGlobal</i> set to <var>timingGlobal</var>, and <i
data-x="processResponseConsumeBody">processResponseConsumeBody</i> set to the following steps
given a <span data-x="concept-response">response</span> <var>response</var> and null, failure,
or a <span>byte sequence</span> <var>bytesOrNull</var>:</p>
Expand Down

0 comments on commit b6eeb79

Please sign in to comment.