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 20:23:05 +0200
To: public-webapps@w3.org, "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: "Cameron McCormack" <cam@mozilla.com>
Message-ID: <op.wbv70rep64w2qv@annevk-macbookpro.local>
On Wed, 28 Mar 2012 20:10:53 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 3/28/12 10:42 AM, Glenn Adams wrote:
>> Any use of DOMString to serve as a holder for arbitrary binary data
>> (including inflating from UTF-8 bytes into 16-bit code units), should be
>> specifically marked as such.
> For what it's worth, I would be reasonably happy if we had a  
> non-DOMString IDL type to indicate "raw byte sequence" strings, with  
> WebIDL defining byte-inflation as the conversion from such things to JS  
> strings...

That's an interesting idea. We could also use that for open()'s method  
argument (as doing the opposite, throw for higher than U+00FF, then  

Anne van Kesteren
Received on Wednesday, 28 March 2012 18:23:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:32 UTC