<?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>24102</bug_id>
          
          <creation_ts>2013-12-15 10:28:48 +0000</creation_ts>
          <short_desc>Specify the targets for events</short_desc>
          <delta_ts>2014-02-27 22:51:28 +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>97630</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2013-12-15 10:28:48 +0000</bug_when>
    <thetext>For example, in readAsText:

&quot;Fire a progress event called loadstart.&quot;

Nothing actually defines that the event is fired at the FileReader object. (Consider using the term &apos;context object&apos; to match DOM.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97866</commentid>
    <comment_count>1</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2013-12-24 11:47:56 +0000</bug_when>
    <thetext>(In reply to Ms2ger from comment #0)
&gt; For example, in readAsText:
&gt; 
&gt; &quot;Fire a progress event called loadstart.&quot;
&gt; 
&gt; Nothing actually defines that the event is fired at the FileReader object.
&gt; (Consider using the term &apos;context object&apos; to match DOM.)

I don&apos;t agree.  http://dev.w3.org/2006/webapi/FileAPI/#blobreader-task-source</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98830</commentid>
    <comment_count>2</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2014-01-21 16:11:44 +0000</bug_when>
    <thetext>Marking this bug closed, since there isn&apos;t a response to Comment 1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98831</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-21 16:44:08 +0000</bug_when>
    <thetext>Reopening. A task source is not an event target. You should probably introduce an IO task source for tasks. The event target should be the FileReader object (at least for the events dispatched to it).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101550</commentid>
    <comment_count>4</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2014-02-27 22:51:28 +0000</bug_when>
    <thetext>I think this is fixed. Relevant fixes include:

1. http://dev.w3.org/2006/webapi/FileAPI/#fire-a-progress-event

2. All the asynch read methods:
http://dev.w3.org/2006/webapi/FileAPI/#readAsDataURL
http://dev.w3.org/2006/webapi/FileAPI/#readAsDataText
http://dev.w3.org/2006/webapi/FileAPI/#readAsArrayBuffer</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>