- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Fri, 8 Mar 2013 09:43:56 +0000
- 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 UTC