- From: poot <cvsmail@w3.org>
- Date: Tue, 6 Oct 2009 08:29:38 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Clarify how pushState() and transfering nodes between documents
affects Referer: computation in the fetch algorithm. (whatwg r4084)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3242&r2=1.3243&f=h
http://html5.org/tools/web-apps-tracker?from=4083&to=4084
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3242
retrieving revision 1.3243
diff -u -d -r1.3242 -r1.3243
--- Overview.html 5 Oct 2009 23:24:38 -0000 1.3242
+++ Overview.html 5 Oct 2009 23:29:26 -0000 1.3243
@@ -4515,6 +4515,30 @@
<dfn id="about:blank"><code>about:blank</code></dfn>, then return the empty string
and abort these steps.</li>
+ <li>
+
+ <p>Generate the <i>address of the resource from which Request-URIs
+ are obtained</i> as required by HTTP for the <code title="http-referer">Referer</code> (sic) header from <a href="#the-document-s-current-address">the
+ document's current address</a> of the appropriate
+ <code>Document</code> as given by the folloing list. <a href="#refsHTTP">[HTTP]</a></p>
+
+ <dl class="switch"><dt>When <a href="#navigate" title="navigate">navigating</a></dt>
+
+ <dd>The <a href="#active-document">active document</a> of the <a href="#source-browsing-context">source browsing
+ context</a>.</dd>
+
+ <dt>When fetching resources for an element</dt>
+
+ <dd>The element's <code>Document</code>.</dd>
+
+ <dt>When fetching resources in response to a call to an API</dt>
+
+ <dd>The <a href="#active-document">active document</a> of the <a href="#script-s-browsing-context" title="script's
+ browsing context">browsing context</a> of the <a href="#first-script">first
+ script</a>.</dd>
+
+ </dl></li>
+
<li><p>Perform the remaining steps asynchronously.</li>
<li>
@@ -4536,28 +4560,11 @@
redirects, <a href="#concept-js-deref" title="concept-js-deref">dereferencing <span title="javascript protocol"><code title="">javascript:</code>
URLs</span></a>, etc).</p>
- <p>For purposes of generating the <i>address of the resource from
- which Request-URIs are obtained</i> as required by HTTP for the
- <code title="http-referer">Referer</code> (sic) header, the user
- agent must use <a href="#the-document-s-current-address">the document's current address</a> of the
- appropriate <code>Document</code> as given by this list. <a href="#refsHTTP">[HTTP]</a></p>
-
- <dl class="switch"><dt>When <a href="#navigate" title="navigate">navigating</a></dt>
-
- <dd>The <a href="#active-document">active document</a> of the <a href="#source-browsing-context">source browsing
- context</a>.</dd>
-
- <dt>When fetching resources for an element</dt>
-
- <dd>The element's <code>Document</code>.</dd>
-
- <dt>When fetching resources in response to a call to an API</dt>
-
- <dd>The <a href="#active-document">active document</a> of the <a href="#script-s-browsing-context" title="script's
- browsing context">browsing context</a> of the <a href="#first-script">first
- script</a>.</dd>
+ <p>For the purposes of the <code title="http-referer">Referer</code> (sic) header, use the
+ <i>address of the resource from which Request-URIs are
+ obtained</i> generated in the earlier step.</p>
- </dl><p>For the purposes of the <code title="http-origin">Origin</code>
+ <p>For the purposes of the <code title="http-origin">Origin</code>
header, if the <a href="#fetch" title="fetch">fetching algorithm</a> was
explicitly initiated from an <i title="">origin</i>, then <i title="">the origin that initiated the HTTP request</i> is <i title="">origin</i>. Otherwise, this is <i title="">a request from
a "privacy-sensitive" context</i>. <a href="#refsORIGIN">[ORIGIN]</a></p>
Received on Monday, 5 October 2009 23:30:09 UTC