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
authorAnne van Kesteren <annevk@opera.com>
Sun, 18 Dec 2011 19:22:40 +0100
changeset 2238004ff3f26d
parent 21 e53752739f4a
child 23 0c3691cd289d
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
Overview.html
Overview.src.html
     1.1 --- a/Overview.html	Sun Dec 18 19:07:56 2011 +0100
     1.2 +++ b/Overview.html	Sun Dec 18 19:22:40 2011 +0100
     1.3 @@ -1349,13 +1349,13 @@
     1.4      to be included as the first parameter for compatibility reasons -->
     1.5     </li>
     1.6  
     1.7 -   <li><p>If the <a href="#synchronous-flag">synchronous flag</a> is set release the
     1.8 +   <li><p>If the <a href="#synchronous-flag">synchronous flag</a> is set, release the
     1.9     <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#storage-mutex">storage mutex</a>.</li>
    1.10  
    1.11  
    1.12     <li><p>If the <a href="#synchronous-flag">synchronous flag</a> is unset and one or more
    1.13     event listeners are registered on the <code><a href="#xmlhttprequestupload">XMLHttpRequestUpload</a></code>
    1.14 -   object set the <a href="#upload-events-flag">upload events flag</a>.
    1.15 +   object, set the <a href="#upload-events-flag">upload events flag</a>.
    1.16  
    1.17  
    1.18     <li><p>Unset the <a href="#error-flag">error flag</a>.</li>
    1.19 @@ -1848,6 +1848,8 @@
    1.20     <li><p>If the <a href="#synchronous-flag">synchronous flag</a> is set, update the
    1.21     <a href="#response-entity-body">response entity body</a>.</li>
    1.22  
    1.23 +   <li><p>Unset the <a href="#synchronous-flag">synchronous flag</a>.
    1.24 +
    1.25     <li><p>Change the state to <a href="#dom-xmlhttprequest-done" title="dom-XMLHttpRequest-DONE">DONE</a>.</li>
    1.26  
    1.27     <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>
    1.28 @@ -1937,6 +1939,8 @@
    1.29  
    1.30     <li><p>Set the <a href="#error-flag">error flag</a>.
    1.31  
    1.32 +   <li><p>Unset the <a href="#synchronous-flag">synchronous flag</a>.
    1.33 +
    1.34     <li>
    1.35      <p>If the state is <a href="#dom-xmlhttprequest-unsent" title="dom-XMLHttpRequest-UNSENT">UNSENT</a>,
    1.36      <a href="#dom-xmlhttprequest-opened" title="dom-XMLHttpRequest-OPENED">OPENED</a> with the
     2.1 --- a/Overview.src.html	Sun Dec 18 19:07:56 2011 +0100
     2.2 +++ b/Overview.src.html	Sun Dec 18 19:22:40 2011 +0100
     2.3 @@ -1357,13 +1357,13 @@
     2.4      to be included as the first parameter for compatibility reasons -->
     2.5     </li>
     2.6  
     2.7 -   <li><p>If the <span>synchronous flag</span> is set release the
     2.8 +   <li><p>If the <span>synchronous flag</span> is set, release the
     2.9     <span data-anolis-spec=html>storage mutex</span>.</p></li>
    2.10  
    2.11  
    2.12     <li><p>If the <span>synchronous flag</span> is unset and one or more
    2.13     event listeners are registered on the <code>XMLHttpRequestUpload</code>
    2.14 -   object set the <span>upload events flag</span>.
    2.15 +   object, set the <span>upload events flag</span>.
    2.16  
    2.17  
    2.18     <li><p>Unset the <span>error flag</span>.</p></li>
    2.19 @@ -1856,6 +1856,8 @@
    2.20     <li><p>If the <span>synchronous flag</span> is set, update the
    2.21     <span>response entity body</span>.</p></li>
    2.22  
    2.23 +   <li><p>Unset the <span>synchronous flag</span>.
    2.24 +
    2.25     <li><p>Change the state to <span title="dom-XMLHttpRequest-DONE">DONE</span>.</p></li>
    2.26  
    2.27     <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>
    2.28 @@ -1945,6 +1947,8 @@
    2.29  
    2.30     <li><p>Set the <span>error flag</span>.
    2.31  
    2.32 +   <li><p>Unset the <span>synchronous flag</span>.
    2.33 +
    2.34     <li>
    2.35      <p>If the state is <span title="dom-XMLHttpRequest-UNSENT">UNSENT</span>,
    2.36      <span title="dom-XMLHttpRequest-OPENED">OPENED</span> with the