W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: [xhr] statusText is underdefined

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 28 Mar 2012 10:48:43 +0100
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: public-webapps@w3.org
Message-ID: <op.wbvhfhla64w2qv@annevk-macbookpro.local>
On Wed, 28 Mar 2012 08:53:30 +0100, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 3/28/12 1:33 AM, Anne van Kesteren wrote:
>> Would using
>> http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#inflate-a-byte-sequence-into-a-domstring
>> be sufficient
>
> I don't know.
>
> I believe Gecko's behavior is to treat the status as UTF-8 and stop the  
> conversion at the first invalid byte or something like that (and we have  
> tests in the test suite that test for this; that's why I ran into this  
> issue at all).
>
> It's worth testing what other browsers do.  :(

Wow, "inflating" is what the specification currently requires for header  
fields, for what it's worth. I guess I will have to look into this again  
at some point.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 28 March 2012 08:49:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:50 GMT