Skip to content

Commit

Permalink
Add a couple of more notes
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Mar 30, 2022
1 parent 4075195 commit 9d7aecc
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -14342,9 +14342,15 @@ interface <dfn interface>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
<code>head</code> element, in respective order.</p>

<ol>
<li><p>Let <var>earlyPolicyContainer</var> be the result of <span>creating a
policy container from a fetch response</span> given <var>response</var> and
<var>reservedEnvironment</var>.</p></li>
<li>
<p>Let <var>earlyPolicyContainer</var> be the result of <span>creating a policy container from a
fetch response</span> given <var>response</var> and <var>reservedEnvironment</var>.</p>

<p class="note">This allows the early hint <span data-x="concept-response">response</span> to
include a <span>Content Security Policy</span> directive which would be
<span data-x="enforce the policy">enforced</span> when fetching the early hint
<span data-x="concept-request">request</span>.</p>
</li>

<li><p>Let <var>links</var> be the result of
<span data-x="extract links from headers">extracting links</span> from
Expand Down Expand Up @@ -88612,7 +88618,13 @@ interface <dfn interface>Location</dfn> { // but see also <a href="#the-location
<li><p>Set <var>request</var>'s <span data-x="concept-request-reserved-client">reserved
client</span> to null.</p></li>

<li><p>Set <var>uncommittedPreloads</var> to null.</p></li>
<li>
<p>Set <var>uncommittedPreloads</var> to null.</p>

<p class="note">Preloaded links from <span data-x="process early hint headers">early hint
headers</span> remain in the preload cache after a <span>same origin</span> redirect, but
get discarded when the redirect is cross-origin.</p>
</li>
</ol>
</li>

Expand Down

0 comments on commit 9d7aecc

Please sign in to comment.