Skip to content

Commit

Permalink
Point default referrer policy to a constant defined in w3c/webappsec-…
Browse files Browse the repository at this point in the history
…referrer-policy.
  • Loading branch information
Kaustubha Govind authored and annevk committed Nov 30, 2020
1 parent c5f8177 commit 735829a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3368,11 +3368,7 @@ optionally with a <i>recursive flag</i>, run these steps:
<li>
<p>If <var>request</var>'s <a for=request>referrer policy</a>
is the empty string, then set <var>request</var>'s
<a for=request>referrer policy</a> to
"<code>no-referrer-when-downgrade</code>".

<p class="note no-backref">We use "<code>no-referrer-when-downgrade</code>" because it is the
historical default.
<a for=request>referrer policy</a> to the <a for=/>default referrer policy</a>.

<li>
<p>If <var>request</var>'s <a for=request>referrer</a>
Expand Down

0 comments on commit 735829a

Please sign in to comment.