[whatwg] HTMLCanvasElement.toFile()

Ian Hickson ian at hixie.ch
Thu Jan 14 23:04:43 PST 2010


On Thu, 14 Jan 2010, Darin Fisher wrote:
> On Thu, Jan 14, 2010 at 12:10 PM, David Levin <levin at google.com> wrote:
> > 
> > It seems like it the method should be toBlob.
> >
> > > This doesn't address my concern that you won't know the mime type of 
> > > the blob returned.
> >
> > This makes a good case to move the "readonly attrbiute DOMString type" 
> > from File to Blob.
> 
> I like this suggestion.  It seems reasonable for a Blob, which is just a 
> handle to data, to have an associated media type.

What type should a blob have if it is the result of slicing another file?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list