Skip to content

Commit 43a0c94

Browse files
authored
Use referrer policy from policy container
Complements whatwg/html#6677.
1 parent 0fe0e23 commit 43a0c94

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

fetch.bs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,8 +1554,8 @@ to not have to set <a for=/>request</a>'s <a for=request>referrer</a>.
15541554
<dfn export for=request id=concept-request-referrer-policy>referrer policy</dfn>, which is a
15551555
<a for=/>referrer policy</a>. Unless stated otherwise it is the empty string. [[!REFERRER]]
15561556

1557-
<p class="note no-backref">This can be used to override a referrer policy associated with an
1558-
<a>environment settings object</a>.
1557+
<p class="note no-backref">This can be used to override the referrer policy to be used for this
1558+
<a for=/>request</a>.
15591559

15601560
<p>A <a for=/>request</a> has an associated
15611561
<dfn export for=request id=concept-request-mode>mode</dfn>, which is
@@ -3707,14 +3707,9 @@ steps:
37073707
<a lt="should request be blocked by Content Security Policy?">should <var>request</var> be blocked by Content Security Policy</a>
37083708
returns <b>blocked</b>, then set <var>response</var> to a <a>network error</a>.
37093709

3710-
<li><p>If <var>request</var>'s <a for=request>referrer policy</a> is the empty string and
3711-
<var>request</var>'s <a for=request>client</a> is non-null, then set <var>request</var>'s
3712-
<a for=request>referrer policy</a> to <var>request</var>'s <a for=request>client</a>'s
3713-
<a for="environment settings object">referrer policy</a>. [[!REFERRER]]
3714-
37153710
<li><p>If <var>request</var>'s <a for=request>referrer policy</a> is the empty string, then set
3716-
<var>request</var>'s <a for=request>referrer policy</a> to the
3717-
<a for=/>default referrer policy</a>.
3711+
<var>request</var>'s <a for=request>referrer policy</a> to <var>request</var>'s
3712+
<a for=request>policy container</a>'s <a for="policy container">referrer policy</a>.
37183713

37193714
<li>
37203715
<p>If <var>request</var>'s <a for=request>referrer</a> is not "<code>no-referrer</code>", then set

0 commit comments

Comments
 (0)