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

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

           Summary: It is unclear to set type to be lower case in Blob
                    constructor.
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: File API
        AssignedTo: arun@mozilla.com
        ReportedBy: li.yin@intel.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: public-webapps@w3.org


>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 Saturday, 9 June 2012 03:39:38 UTC