[Bug 16746] Syntax check 'type' in Blob constructor

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16746

--- Comment #1 from Arun <arun@mozilla.com> 2012-04-17 21:19:21 UTC ---
(Bug 16728 is similar).

I think we should:

1. Throw on invalid media types, e.g. if any illegal chars are used or it
violates the ABNF for MIME type strings.

2. Case convert to lowercase.

3. Throw on leading/trailing whitespace.  It's hard for me to conclude that we
should offer syntax convenience for such an error.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 17 April 2012 21:19:24 UTC