<?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>23451</bug_id>
          
          <creation_ts>2013-10-07 18:05:17 +0000</creation_ts>
          <short_desc>Error Attribute Setting and Error Event Firing Currently Have Backwards Order</short_desc>
          <delta_ts>2013-10-31 17:08:14 +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>PC</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="Arun">arun</reporter>
          <assigned_to name="Arun">arun</assigned_to>
          <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>94399</commentid>
    <comment_count>0</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2013-10-07 18:05:17 +0000</bug_when>
    <thetext>On listserv traffic to public-webapps, brmatthe points out:

File API: 8.5.6 step 1 in the spec starts &quot;Fire a progress event called error. Set the error attribute;&quot;. Doesn&apos;t firing an event call the event handlers immediately? If so, this seems to be saying to call the error handler *before* setting the error attribute,  which seems backwards.

Expected: event and event attribute setting are not backwards.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95615</commentid>
    <comment_count>1</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2013-10-31 17:08:14 +0000</bug_when>
    <thetext>Fixed.

http://dev.w3.org/2006/webapi/FileAPI/#dfn-error-steps</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>