Merge Anne's change: Oct 17, 2012, Make sure the upload complete flag and upload events flag are unset too
authorJungkee Song <jungkee.song@samsung.com>
Mon, 19 Nov 2012 15:52:16 +0900
changeset 94 934a01815256
parent 93 9f3b92df1e57
child 95 6e96b561804a
Merge Anne's change: Oct 17, 2012, Make sure the upload complete flag and upload events flag are unset too
Overview.html
Overview.src.html
--- a/Overview.html	Mon Nov 19 15:45:11 2012 +0900
+++ b/Overview.html	Mon Nov 19 15:52:16 2012 +0900
@@ -1388,17 +1388,16 @@
    <li><p>If the <a href="#synchronous-flag">synchronous flag</a> is set, release the
    <a class="external" href="http://dev.w3.org/html5/spec/webappapis.html#storage-mutex">storage mutex</a>.</li>
 
+   <li><p>Unset the <a href="#error-flag">error flag</a>,
+   <a href="#upload-complete-flag">upload complete flag</a> and <a href="#upload-events-flag">upload events flag</a>.
+
+   <li><p>If there is no <a href="#request-entity-body">request entity body</a> or if it is empty,
+   set the <a href="#upload-complete-flag">upload complete flag</a>.
+
    <li><p>If the <a href="#synchronous-flag">synchronous flag</a> is unset and one or more
    event listeners are registered on the <code><a href="#xmlhttprequestupload">XMLHttpRequestUpload</a></code>
    object, set the <a href="#upload-events-flag">upload events flag</a>.
 
-   <li><p>Unset the <a href="#error-flag">error flag</a>.</li>
-
-   <li><p>Set the <a href="#upload-complete-flag">upload complete flag</a> if there is no
-   <a href="#request-entity-body">request entity body</a> or if the
-   <a href="#request-entity-body">request entity body</a> is empty.
-
-
    <li>
     <p>If the <a href="#synchronous-flag">synchronous flag</a> is unset, run these substeps:</p>
 
@@ -1501,7 +1500,7 @@
        <dd>The <a href="#xmlhttprequest-origin"><code>XMLHttpRequest</code> origin</a>.</dd>
 
        <dt>referer source
-       <dd>If the <a href="#anonymous-flag">anonymous flag</a> is set the
+       <dd>If the <a href="#anonymous-flag">anonymous flag</a> is set, the
        <a class="external" href="http://dev.w3.org/html5/spec/urls.html#url">URL</a>
        "<code title="">about:blank</code>", or the
        <a href="#xmlhttprequest-referer-source"><code>XMLHttpRequest</code> referer source</a> otherwise.
--- a/Overview.src.html	Mon Nov 19 15:45:11 2012 +0900
+++ b/Overview.src.html	Mon Nov 19 15:52:16 2012 +0900
@@ -1355,17 +1355,16 @@
    <li><p>If the <span>synchronous flag</span> is set, release the
    <span data-anolis-spec=html>storage mutex</span>.</p></li>
 
+   <li><p>Unset the <span>error flag</span>,
+   <span>upload complete flag</span> and <span>upload events flag</span>.
+
+   <li><p>If there is no <span>request entity body</span> or if it is empty,
+   set the <span>upload complete flag</span>.
+
    <li><p>If the <span>synchronous flag</span> is unset and one or more
    event listeners are registered on the <code>XMLHttpRequestUpload</code>
    object, set the <span>upload events flag</span>.
 
-   <li><p>Unset the <span>error flag</span>.</p></li>
-
-   <li><p>Set the <span>upload complete flag</span> if there is no
-   <span>request entity body</span> or if the
-   <span>request entity body</span> is empty.
-
-
    <li>
     <p>If the <span>synchronous flag</span> is unset, run these substeps:</p>
 
@@ -1468,7 +1467,7 @@
        <dd>The <span><code>XMLHttpRequest</code> origin</span>.</dd>
 
        <dt>referer source
-       <dd>If the <span>anonymous flag</span> is set the
+       <dd>If the <span>anonymous flag</span> is set, the
        <span data-anolis-spec=html>URL</span>
        "<code title>about:blank</code>", or the
        <span><code>XMLHttpRequest</code> referer source</span> otherwise.