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

[Bug 16724] New: Blob without arguments underdefined

From: <bugzilla@jessica.w3.org>
Date: Fri, 13 Apr 2012 11:28:58 +0000
To: public-webapps@w3.org
Message-ID: <bug-16724-2927@http.www.w3.org/Bugs/Public/>

           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
for an example of this style to spec constructors that doesn't leave things

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

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