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

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 Apr 2012 09:39:59 +0000
To: public-webapps@w3.org
Message-ID: <bug-16746-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16746

           Summary: Syntax check 'type' in Blob constructor
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: File API
        AssignedTo: arun@mozilla.com
        ReportedBy: simonp@opera.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: public-webapps@w3.org


new Blob([], {type:'Foobar\u00E5\uD801\uDC7E  '});

I think we should throw a SyntaxError exception if type is not a valid media
type. (Not sure what to do about leading/trailing whitespace; it could throw,
trim or leave as is. Also not sure whether we'd want to convert to lowercase.)

-- 
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 Monday, 16 April 2012 09:40:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:51 GMT