be clearer about when an 'upload' is complete
authorAnne van Kesteren <annevk@opera.com>
Thu, 16 Feb 2012 13:40:24 +0100
changeset 45 1697baff2709
parent 44 063d0f0d429d
child 46 5c90cb13ad25
be clearer about when an 'upload' is complete
Overview.html
Overview.src.html
--- a/Overview.html	Thu Feb 16 13:03:51 2012 +0100
+++ b/Overview.html	Thu Feb 16 13:40:24 2012 +0100
@@ -1897,7 +1897,7 @@
   these steps:</p>
 
   <ul>
-   <li><p>While the request entity body is being uploaded and the
+   <li><p>While the request entity body is being transmitted and the
    <a href="#upload-complete-flag">upload complete flag</a> is unset,
    <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">queue a task</a> to
    <a class="external" href="http://dev.w3.org/2006/webapi/progress/#concept-event-fire-progress" title="concept-event-fire-progress">fire a progress event</a> named <code title="event-xhr-progress"><a href="#event-xhr-progress">progress</a></code> at
@@ -1905,9 +1905,11 @@
    every byte transmitted, whichever is <em>least</em> frequent.</li>
 
    <li>
-    <p>If the <a href="#request-entity-body">request entity body</a> has been successfully
-    uploaded and the <a href="#upload-complete-flag">upload complete flag</a> is still unset,
-    <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">queue a task</a> to run these substeps:</p>
+    <p>If the <a href="#request-entity-body">request entity body</a> has been fully transmitted
+    (irrespective of whether the server has started transmitting a response
+    or the status code of such a response) and the
+    <a href="#upload-complete-flag">upload complete flag</a> is still unset,
+    <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">queue a task</a> to run these substeps:
 
     <ol>
      <li><p>Set the <a href="#upload-complete-flag">upload complete flag</a>.
@@ -1922,8 +1924,6 @@
    </li>
   </ul>
 
-  <!-- XXX successfully uploaded? -->
-
 
 
   <h4 id="the-abort()-method"><span class="secno">4.7.8 </span>The <code title="">abort()</code> method</h4>
--- a/Overview.src.html	Thu Feb 16 13:03:51 2012 +0100
+++ b/Overview.src.html	Thu Feb 16 13:40:24 2012 +0100
@@ -1904,7 +1904,7 @@
   these steps:</p>
 
   <ul>
-   <li><p>While the request entity body is being uploaded and the
+   <li><p>While the request entity body is being transmitted and the
    <span>upload complete flag</span> is unset,
    <span data-anolis-spec=html>queue a task</span> to
    <span data-anolis-spec=progress-events title=concept-event-fire-progress>fire a progress event</span> named <code title="event-xhr-progress">progress</code> at
@@ -1912,9 +1912,11 @@
    every byte transmitted, whichever is <em>least</em> frequent.</p></li>
 
    <li>
-    <p>If the <span>request entity body</span> has been successfully
-    uploaded and the <span>upload complete flag</span> is still unset,
-    <span data-anolis-spec=html>queue a task</span> to run these substeps:</p>
+    <p>If the <span>request entity body</span> has been fully transmitted
+    (irrespective of whether the server has started transmitting a response
+    or the status code of such a response) and the
+    <span>upload complete flag</span> is still unset,
+    <span data-anolis-spec=html>queue a task</span> to run these substeps:
 
     <ol>
      <li><p>Set the <span>upload complete flag</span>.
@@ -1929,8 +1931,6 @@
    </li>
   </ul>
 
-  <!-- XXX successfully uploaded? -->
-
 
 
   <h4>The <code title>abort()</code> method</h4>