<?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>24401</bug_id>
          
          <creation_ts>2014-01-26 20:08:23 +0000</creation_ts>
          <short_desc>abort() should always dispatch loadend</short_desc>
          <delta_ts>2014-03-03 21:04:19 +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>File API</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="Ms2ger">Ms2ger</reporter>
          <assigned_to name="Arun">arun</assigned_to>
          <cc>annevk</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>99113</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2014-01-26 20:08:23 +0000</bug_when>
    <thetext>IE, Chrome and Firefox all dispatch loadend when you call abort() when the readyState is LOADING.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99438</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-29 21:30:13 +0000</bug_when>
    <thetext>Oooh, this is filed against the File API. I thought it was against XMLHttpRequest, but I already have this covered. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99682</commentid>
    <comment_count>2</comment_count>
      <attachid>1435</attachid>
    <who name="Arun">arun</who>
    <bug_when>2014-02-04 21:03:07 +0000</bug_when>
    <thetext>Created attachment 1435
Test Case

This test case illustrates inconsistent behavior across browsers w.r.t. FileReader.abort(), notably that toggling based on readyState is not being followed in Fx. Fixing this spec bug may also result in a Fx bug.

I&apos;ll add this test case to the Git repo for testcases as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101788</commentid>
    <comment_count>3</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2014-03-03 21:04:19 +0000</bug_when>
    <thetext>Fixed spec. to always fire loadend</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1435</attachid>
            <date>2014-02-04 21:03:07 +0000</date>
            <delta_ts>2014-02-04 21:03:07 +0000</delta_ts>
            <desc>Test Case</desc>
            <filename>abortTester.html</filename>
            <type>text/html</type>
            <size>714</size>
            <attacher name="Arun">arun</attacher>
            
              <data encoding="base64">PGRvY3R5cGUgIWh0bWw+CjxoZWFkPgo8c2NyaXB0PgoKCXZhciByZWFkZXIgPSBuZXcgRmlsZVJl
YWRlcigpOwoKCXZhciBibG9iID0gbmV3IEJsb2IoCgkJWyJUaGlzIGlzIGEgYnJpZWYgdGV4dCBm
aWxlLCBkZXNpZ25lZCB0byBzaG93Y2FzZSBtdWNoIG9mIGEgbXVjaG5lc3MuIl0sIHt0eXBlOiJ0
ZXh0L3BsYWluIn0pOwoKCXJlYWRlci5vbmFib3J0ID0gZnVuY3Rpb24oKXsKCgkJLy8gcmVhZGVy
LnJlYWRBc1RleHQoYmxvYik7CgkJY29uc29sZS5sb2coImFib3J0ICIgKyByZWFkZXIucmVhZHlT
dGF0ZSk7Cgl9CgoJcmVhZGVyLm9ubG9hZHN0YXJ0ID0gZnVuY3Rpb24oKXsKCQkKCQlyZWFkZXIu
YWJvcnQoKTsKCQljb25zb2xlLmxvZygibG9hZHN0YXJ0ICIgKyByZWFkZXIucmVhZHlTdGF0ZSk7
CgoJfQoKCXJlYWRlci5vbmxvYWQgPSBmdW5jdGlvbigpewoJCWNvbnNvbGUubG9nKCJsb2FkICIg
KyByZWFkZXIucmVhZHlTdGF0ZSk7CgoKCX0KCglyZWFkZXIub25sb2FkZW5kID0gZnVuY3Rpb24o
KXsKCgkJCgkJY29uc29sZS5sb2coImxvYWRlbmQgIiArIHJlYWRlci5yZWFkeVN0YXRlKTsKCgoJ
fQoKCXJlYWRlci5vbnByb2dyZXNzID0gZnVuY3Rpb24oKXsKCgkJY29uc29sZS5sb2coInByb2dy
ZXNzICIgKyByZWFkZXIucmVhZHlTdGF0ZSk7Cgl9OwoKCXJlYWRlci5yZWFkQXNUZXh0KGJsb2Ip
OwoKPC9zY3JpcHQ+CjwvaGVhZD4KCgo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>