[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

Yang Sun <eric.sun@huawei.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric.sun@huawei.com

--- Comment #1 from Yang Sun <eric.sun@huawei.com> 2012-06-11 15:23:40 UTC ---
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 think nothing else.

(In reply to comment #0)
> From spec: http://dev.w3.org/2006/webapi/FileAPI/#dfn-BlobPropertyBag
> 
> Convert every character in s to lower case.
> 
> Does it mean we need set characters of Blob.type into lower case?
> Or the lower-case conversion is just for obtaining the media-type, and
> Blob.type is still unchanged.
> 
> For example:
> (new Blob([], {type: "text/html; charset=UTF-8"})).type
> should be return:  text/html; charset=utf-8  or   text/html; charset=UTF-8  ?

-- 
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 Monday, 11 June 2012 15:23:51 UTC