[whatwg] HTMLCanvasElement.toFile()

Darin Fisher darin at chromium.org
Thu Jan 14 22:24:13 PST 2010


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.
>
> dave
>
>

I like this suggestion.  It seems reasonable for a Blob, which is just a
handle to data, to have an associated media type.

-Darin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100114/78e9e662/attachment-0002.htm>


More information about the whatwg mailing list