Skip to content

Commit

Permalink
Rename none to no referrer
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Aug 21, 2014
1 parent 6d1c2b2 commit 0576c5a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
19 changes: 10 additions & 9 deletions Overview.html
Expand Up @@ -7,7 +7,7 @@

<p><a class="logo" href="//www.whatwg.org/"><img alt="WHATWG" height="100" src="//resources.whatwg.org/logo-fetch.svg" width="100"></a>
<h1 id="cors">Fetch</h1>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-18-august-2014">Living Standard — Last Updated 18 August 2014</h2>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-21-august-2014">Living Standard — Last Updated 21 August 2014</h2>

<dl>
<dt>This Version:
Expand All @@ -34,7 +34,7 @@ <h2 class="no-num no-toc" id="living-standard-—-last-updated-18-august-2014">L
<p class="copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
To the extent possible under law, the editor has waived all copyright and
related or neighboring rights to this work. In addition, as of
18 August 2014, the editor has made this specification available
21 August 2014, the editor has made this specification available
under the
<a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
which is available at
Expand Down Expand Up @@ -706,7 +706,7 @@ <h4 id="requests"><span class="secno">2.1.4 </span>Requests</h4>
<dfn id="same-origin-data-url-flag">same-origin data URL flag</dfn>. Unless stated otherwise it is unset.

<p>A <a href="#concept-request" title="concept-request">request</a> has an associated
<dfn id="concept-request-referrer" title="concept-request-referrer">referrer</dfn>, which is <i title="">none</i>,
<dfn id="concept-request-referrer" title="concept-request-referrer">referrer</dfn>, which is <i title="">no referrer</i>,
<i title="">client</i>, or a <a class="external" href="http://url.spec.whatwg.org/#concept-url" title="concept-url">URL</a>. Unless
stated otherwise it is <i title="">client</i>.

Expand Down Expand Up @@ -1061,15 +1061,15 @@ <h2 id="fetching"><span class="secno">4 </span>Fetching</h2>

<li>
<p>If <var title="">request</var>'s <a href="#concept-request-referrer" title="concept-request-referrer">referrer</a>
is not <i title="">none</i>, set <var title="">request</var>'s
is not <i title="">no referrer</i>, set <var title="">request</var>'s
<a href="#concept-request-referrer" title="concept-request-referrer">referrer</a> to the result of invoking
<a href="http://w3c.github.io/webappsec/specs/referrer-policy/#determine-requests-referrer">determine <var title="">request</var>'s referrer</a>.
<a href="#refsREFERRER">[REFERRER]</a>

<p class="note no-backref">As stated in <cite>Referrer Policy</cite>, user agents can
provide the end user with options to always set <var title="">request</var>'s
<a href="#concept-request-referrer" title="concept-request-referrer">referrer</a> to <i title="">none</i> or have it
expose less sensitive information.
provide the end user with options to override <var title="">request</var>'s
<a href="#concept-request-referrer" title="concept-request-referrer">referrer</a> to <i title="">no referrer</i> or have
it expose less sensitive information.

<li><p>If <var title="">request</var>'s <a href="#synchronous-flag">synchronous flag</a> is unset and
<a href="#concept-fetch" title="concept-fetch">fetch</a> is not invoked recursively, run the remaining steps asynchronously.
Expand Down Expand Up @@ -1606,7 +1606,7 @@ <h3 id="http-network-or-cache-fetch"><span class="secno">4.3 </span>HTTP network

<li><p><a href="#concept-header-list-append" title="concept-header-list-append">Append</a>
`<code title="">Referer</code>`/empty byte sequence, if <var title="">HTTPRequest</var>'s
<a href="#concept-request-referrer" title="concept-request-referrer">referrer</a> is <i title="">none</i>, and
<a href="#concept-request-referrer" title="concept-request-referrer">referrer</a> is <i title="">no referrer</i>, and
`<code title="">Referer</code>`/<var title="">HTTPRequest</var>'s
<a href="#concept-request-referrer" title="concept-request-referrer">referrer</a>,
<a class="external" href="http://url.spec.whatwg.org/#concept-url-serializer" title="concept-url-serializer">serialized</a> and
Expand Down Expand Up @@ -2813,7 +2813,7 @@ <h3 id="request-class"><span class="secno">5.3 </span>Request class</h3>

<p>The <dfn id="dom-request-referrer" title="dom-Request-referrer"><code>referrer</code></dfn> attribute's getter must
return the empty string if <a href="#concept-request-request" title="concept-Request-request">request</a>'s
<a href="#concept-request-referrer" title="concept-Request-referrer">referrer</a> is <i title="">none</i>, and
<a href="#concept-request-referrer" title="concept-Request-referrer">referrer</a> is <i title="">no referrer</i>, and
<a href="#concept-request-request" title="concept-Request-request">request</a>'s
<a href="#concept-request-referrer" title="concept-Request-referrer">referrer</a>,
<a class="external" href="http://url.spec.whatwg.org/#concept-url-serializer" title="concept-url-serializer">serialized</a>, otherwise.
Expand Down Expand Up @@ -3217,6 +3217,7 @@ <h2 class="no-num" id="acknowledgments">Acknowledgments</h2>

Adam Barth,
Alexey Proskuryakov,
Ángel,
Anssi Kostiainen,
Arne Johannessen,
Arthur Barstow,
Expand Down
15 changes: 8 additions & 7 deletions Overview.src.html
Expand Up @@ -662,7 +662,7 @@ <h4>Requests</h4>
<dfn>same-origin data URL flag</dfn>. Unless stated otherwise it is unset.

<p>A <span title=concept-request>request</span> has an associated
<dfn title=concept-request-referrer>referrer</dfn>, which is <i title>none</i>,
<dfn title=concept-request-referrer>referrer</dfn>, which is <i title>no referrer</i>,
<i title>client</i>, or a <span data-anolis-spec=url title=concept-url>URL</span>. Unless
stated otherwise it is <i title>client</i>.

Expand Down Expand Up @@ -1017,15 +1017,15 @@ <h2>Fetching</h2>

<li>
<p>If <var title>request</var>'s <span title=concept-request-referrer>referrer</span>
is not <i title>none</i>, set <var title>request</var>'s
is not <i title>no referrer</i>, set <var title>request</var>'s
<span title=concept-request-referrer>referrer</span> to the result of invoking
<a href="http://w3c.github.io/webappsec/specs/referrer-policy/#determine-requests-referrer">determine <var title>request</var>'s referrer</a>.
<span data-anolis-ref>REFERRER</span>

<p class="note no-backref">As stated in <cite>Referrer Policy</cite>, user agents can
provide the end user with options to always set <var title>request</var>'s
<span title=concept-request-referrer>referrer</span> to <i title>none</i> or have it
expose less sensitive information.
provide the end user with options to override <var title>request</var>'s
<span title=concept-request-referrer>referrer</span> to <i title>no referrer</i> or have
it expose less sensitive information.

<li><p>If <var title>request</var>'s <span>synchronous flag</span> is unset and
<span title=concept-fetch>fetch</span> is not invoked recursively, run the remaining steps asynchronously.
Expand Down Expand Up @@ -1562,7 +1562,7 @@ <h3>HTTP network or cache fetch</h3>

<li><p><span title=concept-header-list-append>Append</span>
`<code title>Referer</code>`/empty byte sequence, if <var title>HTTPRequest</var>'s
<span title=concept-request-referrer>referrer</span> is <i title>none</i>, and
<span title=concept-request-referrer>referrer</span> is <i title>no referrer</i>, and
`<code title>Referer</code>`/<var title>HTTPRequest</var>'s
<span title=concept-request-referrer>referrer</span>,
<span data-anolis-spec=url title=concept-url-serializer>serialized</span> and
Expand Down Expand Up @@ -2769,7 +2769,7 @@ <h3>Request class</h3>

<p>The <dfn title=dom-Request-referrer><code>referrer</code></dfn> attribute's getter must
return the empty string if <span title=concept-Request-request>request</span>'s
<span title=concept-Request-referrer>referrer</span> is <i title>none</i>, and
<span title=concept-Request-referrer>referrer</span> is <i title>no referrer</i>, and
<span title=concept-Request-request>request</span>'s
<span title=concept-Request-referrer>referrer</span>,
<span data-anolis-spec=url title=concept-url-serializer>serialized</span>, otherwise.
Expand Down Expand Up @@ -3115,6 +3115,7 @@ <h2 class=no-num>Acknowledgments</h2>

Adam Barth,
Alexey Proskuryakov,
Ángel,
Anssi Kostiainen,
Arne Johannessen,
Arthur Barstow,
Expand Down

0 comments on commit 0576c5a

Please sign in to comment.