On Thu, Mar 7, 2013 at 6:35 PM, Arun Ranganathan <aranganat...@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/