<?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>23787</bug_id>
          
          <creation_ts>2013-11-11 05:18:31 +0000</creation_ts>
          <short_desc>Clarify that which HTTP entity body is referred in ProgressEvent spec</short_desc>
          <delta_ts>2013-11-25 14:05: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>XHR</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="Takeshi Yoshino">tyoshino</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>96103</commentid>
    <comment_count>0</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2013-11-11 05:18:31 +0000</bug_when>
    <thetext>In the definition of &quot;fire a progress event named e&quot;, attributes are built from &quot;HTTP entity body&quot;. 

This means &quot;HTTP request entity body&quot; for
&quot;Fire a progress event named progress on the XMLHttpRequestUpload object.&quot;
while this means &quot;HTTP response entity body&quot; for
&quot;Fire a progress event named progress&quot;.

It would be nice if this is made less implicit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96106</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-11-11 06:09:56 +0000</bug_when>
    <thetext>I guess we could have &quot;fire an upload progress event&quot; and &quot;fire a progress event&quot;. Would that work?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96108</commentid>
    <comment_count>2</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2013-11-11 06:14:23 +0000</bug_when>
    <thetext>(In reply to Anne from comment #1)
&gt; I guess we could have &quot;fire an upload progress event&quot; and &quot;fire a progress
&gt; event&quot;. Would that work?

Sounds good</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96113</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-11-11 08:59:04 +0000</bug_when>
    <thetext>https://github.com/whatwg/xhr/commit/8af96dd4157ba992b6730a3e24728677dd19929a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96684</commentid>
    <comment_count>4</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2013-11-22 03:41:16 +0000</bug_when>
    <thetext>Thanks for the update, Anne, but the new text needs one fix.

http://xhr.spec.whatwg.org/

&gt; To fire an upload progress event named e means to fire an event named e with an event using the ProgressEvent interface that also meets these conditions:
&gt; 
&gt; Initialize the loaded attribute to the length of request&apos;s body.
&gt; If the length of response&apos;s body is known through the Content-Length header, set the lengthComputable attribute value to true and the total attribute value to the length.

&quot;response&quot; in the 2nd bullet point should be &quot;request&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96775</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-11-25 14:05:14 +0000</bug_when>
    <thetext>https://github.com/whatwg/xhr/commit/ab6ba77f2c559a5e23b0b28fa642d76e348e1330</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>