- From: <bugzilla@jessica.w3.org>
- Date: Fri, 13 Apr 2012 11:28:58 +0000
- To: public-webapps@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16724 Summary: Blob without arguments underdefined 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 The spec should say what to set the data to (when invoked with no arguments), what to set the type to (if not specified), what 'endings' should be (if the second argument is omitted altogether), etc. Ideally I'd like the spec to have a single algorithm for when the constructor is invoked, where all values are initialized to the appropriate things, then the arguments are examined and change the values as appropriate, then a new Blob object is created with those values set and that is returned. (See http://www.whatwg.org/specs/web-apps/current-work/multipage/network.html#dom-websocket for an example of this style to spec constructors that doesn't leave things undefined.) -- 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 Friday, 13 April 2012 11:29:10 UTC