<?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>16557</bug_id>
          
          <creation_ts>2012-03-28 11:46:33 +0000</creation_ts>
          <short_desc>Figure out bytes to code point mapping for statusText</short_desc>
          <delta_ts>2012-06-07 15:37:39 +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>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="Anne">annevk</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>bzbarsky</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>66178</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-03-28 11:46:33 +0000</bug_when>
    <thetext>Ideally this just uses &quot;inflate&quot; but if browsers are not doing that, it may have to be something ugly instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68824</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-06-07 15:27:37 +0000</bug_when>
    <thetext>Test: http://dump.testsuite.org/xhr/statustext-decoding.php
Source: 

&lt;?php
  header(&quot;HTTP/1.1 250 \xE2\x82\xAC&quot;);
?&gt;
&lt;script&gt;
 x = new XMLHttpRequest()
 x.open(&quot;GET&quot;, &quot;?trala&quot;, false)
 x.send(&quot;&quot;)
 alert(x.statusText) 
&lt;/script&gt;

Results: Opera and Internet Explorer conform to the specification; Firefox/Chrome/Safari do not. (Safari alerts &quot;OK&quot; rather than &quot;€&quot; by the way.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68825</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-06-07 15:30:29 +0000</bug_when>
    <thetext>My assertion above that certain browsers conform to the specification is obviously false as it does not define what to do at the moment. But given these results I think that is the most logical way forward.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68827</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-06-07 15:37:39 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/xhr/rev/5acbf9c93959</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>