[html5] r4084 - [] (0) Clarify how pushState() and transfering nodes between documents affects R [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Oct 5 16:39:08 PDT 2009


Author: ianh
Date: 2009-10-05 16:39:07 -0700 (Mon, 05 Oct 2009)
New Revision: 4084

Modified:
   index
   source
Log:
[] (0) Clarify how pushState() and transfering nodes between documents affects Referer: computation in the fetch algorithm.

Modified: index
===================================================================
--- index	2009-10-05 23:34:19 UTC (rev 4083)
+++ index	2009-10-05 23:39:07 UTC (rev 4084)
@@ -5011,6 +5011,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>
@@ -5032,28 +5056,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>
+    <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 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><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>

Modified: source
===================================================================
--- source	2009-10-05 23:34:19 UTC (rev 4083)
+++ source	2009-10-05 23:39:07 UTC (rev 4084)
@@ -4688,6 +4688,36 @@
    <dfn><code>about:blank</code></dfn>, then return the empty string
    and abort these steps.</p></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 <span>the
+    document's current address</span> of the appropriate
+    <code>Document</code> as given by the folloing list. <a
+    href="#refsHTTP">[HTTP]</a></p>
+
+    <dl class="switch">
+
+     <dt>When <span title="navigate">navigating</span></dt>
+
+     <dd>The <span>active document</span> of the <span>source browsing
+     context</span>.</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 <span>active document</span> of the <span title="script's
+     browsing context">browsing context</span> of the <span>first
+     script</span>.</dd>
+
+    </dl>
+
+   </li>
+
    <li><p>Perform the remaining steps asynchronously.</p></li>
 
    <li>
@@ -4712,32 +4742,11 @@
     title="javascript protocol"><code title="">javascript:</code>
     URLs</span></span>, 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 <span>the document's current address</span> of the
-    appropriate <code>Document</code> as given by this list.  <a
-    href="#refsHTTP">[HTTP]</a></p>
+    <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 class="switch">
-
-     <dt>When <span title="navigate">navigating</span></dt>
-
-     <dd>The <span>active document</span> of the <span>source browsing
-     context</span>.</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 <span>active document</span> of the <span title="script's
-     browsing context">browsing context</span> of the <span>first
-     script</span>.</dd>
-
-    </dl>
-
     <p>For the purposes of the <code title="http-origin">Origin</code>
     header, if the <span title="fetch">fetching algorithm</span> was
     explicitly initiated from an <i title="">origin</i>, then <i




More information about the Commit-Watchers mailing list