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

Re: File API: Blob.type

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 8 Mar 2013 09:43:56 +0000
Message-ID: <CADnb78jnrYauBG0h_YNbLJsDT6c8WPkSMd=0xLzQEb0CPk+r_w@mail.gmail.com>
To: Arun Ranganathan <aranganathan@mozilla.com>
Cc: Glenn Maynard <glenn@zewt.org>, WebApps WG <public-webapps@w3.org>, Alexey Proskuryakov <ap@webkit.org>, Jonas Sicking <jonas@sicking.cc>
On Thu, Mar 7, 2013 at 6:35 PM, Arun Ranganathan
<aranganathan@mozilla.com> wrote:
> But I'm not sure about why we'd choose ByteString in lieu of being strict
> with what characters are allowed within DOMString.  Anne, can you shed some
> light on this?  And of course we should eliminate CR + LF as a possibility
> at constructor invocation time, possibly by throwing.

MIME/HTTP consists of byte sequences, not code points. ByteString is a
basic JavaScript string with certain restrictions on it to match the
byte sequence semantics, while still behaving like a string.


-- 
http://annevankesteren.nl/
Received on Friday, 8 March 2013 09:44:26 GMT

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