[Bug 17449] It is unclear to set type to be lower case in Blob constructor.

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

--- Comment #2 from Kentaro Hara <haraken@chromium.org> 2012-06-12 00:55:41 UTC ---
(In reply to comment #1)
> MIME type is usually in lower case, just a routine. In email, in RTP, in http,
> it is always in lower case.
> 
> And convert all to lower case,just avoid error in processing.

I agree that "text/html; charset=UTF-8" should be converted to "text/html;
charset=utf-8" when parsing the MIME type. My question is whether we should set
the converted value to type or not.

IMHO, returning "text/html; charset=utf-8" for (new Blob([], {type: "text/html;
charset=UTF-8"})).type seems a bit strange. (Do we have another example that
does such an implicit conversion?)

-- 
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, 12 June 2012 00:55:44 UTC