<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15257</bug_id>
          
          <creation_ts>2011-12-17 23:52:20 +0000</creation_ts>
          <short_desc>Should synchronous flag be cleared after state is set to UNSENT or DONE?</short_desc>
          <delta_ts>2011-12-18 18:23:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>XHR</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Olli Pettay">bugs</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61754</commentid>
    <comment_count>0</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2011-12-17 23:52:20 +0000</bug_when>
    <thetext>If someone tries to reuse sync XHR later as async XHR, setting
for example timeout after the sync XHR has succeeded doesn&apos;t work before
calling open().
Is there any reason to keep sync flag after abort() or successful request?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61762</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-12-18 13:17:11 +0000</bug_when>
    <thetext>It was not cleared before because there were no side effects. Now that we have introduced side effects, we should clear it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61763</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-12-18 13:18:49 +0000</bug_when>
    <thetext>Actually, that would mean that doing send() after a successful synchronous send() becomes asynchronous. Not sure if that is a good idea.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61764</commentid>
    <comment_count>3</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2011-12-18 13:34:53 +0000</bug_when>
    <thetext>you need to call open before send</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61766</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-12-18 18:23:32 +0000</bug_when>
    <thetext>Oops, you&apos;re right!

http://dvcs.w3.org/hg/xhr/rev/38004ff3f26d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>