W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

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

From: <bugzilla@jessica.w3.org>
Date: Sat, 09 Jun 2012 03:39:35 +0000
To: public-webapps@w3.org
Message-ID: <bug-17449-2927@http.www.w3.org/Bugs/Public/>

           Summary: It is unclear to set type to be lower case in Blob
           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 on the CC list for the bug.
Received on Saturday, 9 June 2012 03:39:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:34 UTC