- From: <bugzilla@jessica.w3.org>
- Date: Mon, 16 Apr 2012 09:39:59 +0000
- To: public-webapps@w3.org
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 UTC