unset the synchronous flag so timeout and such can be set when XMLHttpRequest is reused. https://www.w3.org/Bugs/Public/show_bug.cgi?id=15257
--- a/Overview.html Sun Dec 18 19:07:56 2011 +0100
+++ b/Overview.html Sun Dec 18 19:22:40 2011 +0100
@@ -1349,13 +1349,13 @@
to be included as the first parameter for compatibility reasons -->
</li>
- <li><p>If the <a href="#synchronous-flag">synchronous flag</a> is set release the
+ <li><p>If the <a href="#synchronous-flag">synchronous flag</a> is set, release the
<a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#storage-mutex">storage mutex</a>.</li>
<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>.
+ object, set the <a href="#upload-events-flag">upload events flag</a>.
<li><p>Unset the <a href="#error-flag">error flag</a>.</li>
@@ -1848,6 +1848,8 @@
<li><p>If the <a href="#synchronous-flag">synchronous flag</a> is set, update the
<a href="#response-entity-body">response entity body</a>.</li>
+ <li><p>Unset the <a href="#synchronous-flag">synchronous flag</a>.
+
<li><p>Change the state to <a href="#dom-xmlhttprequest-done" title="dom-XMLHttpRequest-DONE">DONE</a>.</li>
<li><p><a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-event-fire" title="concept-event-fire">Fire an event</a> named <code title="event-xhr-readystatechange"><a href="#event-xhr-readystatechange">readystatechange</a></code>.</li>
@@ -1937,6 +1939,8 @@
<li><p>Set the <a href="#error-flag">error flag</a>.
+ <li><p>Unset the <a href="#synchronous-flag">synchronous flag</a>.
+
<li>
<p>If the state is <a href="#dom-xmlhttprequest-unsent" title="dom-XMLHttpRequest-UNSENT">UNSENT</a>,
<a href="#dom-xmlhttprequest-opened" title="dom-XMLHttpRequest-OPENED">OPENED</a> with the
--- a/Overview.src.html Sun Dec 18 19:07:56 2011 +0100
+++ b/Overview.src.html Sun Dec 18 19:22:40 2011 +0100
@@ -1357,13 +1357,13 @@
to be included as the first parameter for compatibility reasons -->
</li>
- <li><p>If the <span>synchronous flag</span> is set release the
+ <li><p>If the <span>synchronous flag</span> is set, release the
<span data-anolis-spec=html>storage mutex</span>.</p></li>
<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>.
+ object, set the <span>upload events flag</span>.
<li><p>Unset the <span>error flag</span>.</p></li>
@@ -1856,6 +1856,8 @@
<li><p>If the <span>synchronous flag</span> is set, update the
<span>response entity body</span>.</p></li>
+ <li><p>Unset the <span>synchronous flag</span>.
+
<li><p>Change the state to <span title="dom-XMLHttpRequest-DONE">DONE</span>.</p></li>
<li><p><span data-anolis-spec=dom title=concept-event-fire>Fire an event</span> named <code title=event-xhr-readystatechange>readystatechange</code>.</p></li>
@@ -1945,6 +1947,8 @@
<li><p>Set the <span>error flag</span>.
+ <li><p>Unset the <span>synchronous flag</span>.
+
<li>
<p>If the state is <span title="dom-XMLHttpRequest-UNSENT">UNSENT</span>,
<span title="dom-XMLHttpRequest-OPENED">OPENED</span> with the