<?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>25131</bug_id>
          
          <creation_ts>2014-03-24 04:46:02 +0000</creation_ts>
          <short_desc>Blob response entity body is not built using final MIME type and charset</short_desc>
          <delta_ts>2014-06-25 08:09:02 +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="Takeshi Yoshino">tyoshino</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>arun</cc>
    
    <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>102807</commentid>
    <comment_count>0</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2014-03-24 04:46:02 +0000</bug_when>
    <thetext>Blob response entity body is specified to be built from the response entity body.

&gt; 2. Return a Blob object representing the response entity body.

Shouldn&apos;t this algorithm also take final MIME type and final charset?

Current behavior of browsers: Both Firefox (28.0) and Chrome (32) copy the MIME type of the received response to the Blob, but not charset.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102818</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-03-24 11:44:12 +0000</bug_when>
    <thetext>Yeah it should. I guess I forgot Blob was more than bytes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106439</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-05-20 14:18:11 +0000</bug_when>
    <thetext>https://github.com/whatwg/xhr/commit/621fe98f9ff2d29626747b7b10ce1580b473f61f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108309</commentid>
    <comment_count>3</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2014-06-25 07:05:47 +0000</bug_when>
    <thetext>(In reply to Anne from comment #2)
&gt; https://github.com/whatwg/xhr/commit/621fe98f9ff2d29626747b7b10ce1580b473f61f

Thanks. Verified.

As I said in comment #0, charset is not copied now. Current spec matches with them, but how do you think it should be? Also copying charset might be useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108310</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-25 08:09:02 +0000</bug_when>
    <thetext>I thought Blob.prototype.type did not include the charset parameter.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>