Re: [FileAPI] readAsDataURL()


> Arun,
> I'm assuming that you mean for the resulting data:// URL to have a
> mime
> type in it, right? But the spec just says to take the "blob's data
> content" and doesn't say anything about using the type of the blob
> when
> creating the URL.

Yes, you're absolutely right, I understand you now!  The steps should specify use of the type property on Blobs.  In fact, sometimes the type may not be available on Blobs.  In this case the specification should go to the error steps, since a valid data: URL cannot be generated.

-- A*

Received on Thursday, 17 February 2011 17:47:42 UTC