[html5] r2844 - [] (0) Give up on 205. Define how session history updates work without breaking [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Feb 19 03:30:25 PST 2009


Author: ianh
Date: 2009-02-19 03:30:24 -0800 (Thu, 19 Feb 2009)
New Revision: 2844

Modified:
   index
   source
Log:
[] (0) Give up on 205. Define how session history updates work without breaking scripts.

Modified: index
===================================================================
--- index	2009-02-19 11:12:21 UTC (rev 2843)
+++ index	2009-02-19 11:30:24 UTC (rev 2844)
@@ -39787,7 +39787,10 @@
      <li>Network errors</li>
     </ul></div>
    
-    <!-- XXX should we define 205 processing here? e.g. reset all forms? -->
+    <!-- theorectically, HTTP 205 processing would occur here,
+    resetting all forms with no other effect. However, it seems nobody
+    actually wants to use this ability, so requiring it here seems
+    like unnecessary work. -->
 
     <p>HTTP 401 responses that do not include a challenge recognised
     by the user agent must be processed as if they had no challenge,
@@ -39878,14 +39881,10 @@
   </ol><p>Some of the sections below, to which the above algorithm defers
   in certain cases, require the user agent to <dfn id=update-the-session-history-with-the-new-page>update the session
   history with the new page</dfn>. When a user agent is required to do
-  this, it must follows the set of steps given below that is
-  appropriate for the situation at hand. From the point of view of any
-  script, these steps must occur atomically.</p>
+  this, it must <a href=#queue-a-task>queue a task</a> to run the following
+  steps:</p>
 
-  <ol><li><p class=XXX>pause for scripts -- but don't use the
-   "pause" definition since that involves not running script!</li>
-
-   <li><p><a href=#unload-a-document title="unload a document">Unload</a> the
+  <ol><li><p><a href=#unload-a-document title="unload a document">Unload</a> the
    <code>Document</code> object of the <a href=#current-entry>current entry</a>,
    with the <var title="">recycle</var> parameter set to
    false.</li>
@@ -39954,8 +39953,12 @@
 
     </ol></li>
 
-  </ol><h4 id=read-html><span class=secno>5.10.2 </span><dfn title=navigate-html>Page load processing model for HTML files</dfn></h4>
+  </ol><p>The <a href=#task-source>task source</a> for this <a href=#concept-task title=concept-task>task</a> is the <a href=#networking-task-source>networking task
+  source</a>.</p>
 
+
+  <h4 id=read-html><span class=secno>5.10.2 </span><dfn title=navigate-html>Page load processing model for HTML files</dfn></h4>
+
   <p>When an HTML document is to be loaded in a <a href=#browsing-context>browsing
   context</a>, the user agent must create a <code>Document</code>
   object, mark it as being an <a href=#html-documents title="HTML documents">HTML

Modified: source
===================================================================
--- source	2009-02-19 11:12:21 UTC (rev 2843)
+++ source	2009-02-19 11:30:24 UTC (rev 2844)
@@ -45328,7 +45328,10 @@
     </ul>
    </div>
    
-    <!-- XXX should we define 205 processing here? e.g. reset all forms? -->
+    <!-- theorectically, HTTP 205 processing would occur here,
+    resetting all forms with no other effect. However, it seems nobody
+    actually wants to use this ability, so requiring it here seems
+    like unnecessary work. -->
 
     <p>HTTP 401 responses that do not include a challenge recognised
     by the user agent must be processed as if they had no challenge,
@@ -45434,15 +45437,11 @@
   <p>Some of the sections below, to which the above algorithm defers
   in certain cases, require the user agent to <dfn>update the session
   history with the new page</dfn>. When a user agent is required to do
-  this, it must follows the set of steps given below that is
-  appropriate for the situation at hand. From the point of view of any
-  script, these steps must occur atomically.</p>
+  this, it must <span>queue a task</span> to run the following
+  steps:</p>
 
   <ol>
 
-   <li><p class="XXX">pause for scripts -- but don't use the
-   "pause" definition since that involves not running script!</p></li>
-
    <li><p><span title="unload a document">Unload</span> the
    <code>Document</code> object of the <span>current entry</span>,
    with the <var title="">recycle</var> parameter set to
@@ -45531,7 +45530,11 @@
 
   </ol>
 
+  <p>The <span>task source</span> for this <span
+  title="concept-task">task</span> is the <span>networking task
+  source</span>.</p>
 
+
   <h4 id="read-html"><dfn title="navigate-html">Page load processing model for HTML files</dfn></h4>
 
   <p>When an HTML document is to be loaded in a <span>browsing




More information about the Commit-Watchers mailing list