Re: [FileAPI] readAsDataURL()

On 02/17/2011 06:55 AM, Arun Ranganathan wrote:
>
>
> ----- Original Message -----
>> Step 7 of the FileReader.readAsDataURL() algorithm currently just
>> says:
>>
>>> Set the result attribute to be blob's data content represented as a
>>> Data URL
>>
>> It should, I think, say something about the using the type of the blob
>> as well as the content of the blob when forming the data:// URL.
>> And similarly, I suppose, for FileReaderSync.
>
> Hi David,
>
> Can you clarify what you mean here?  data:// URLs are pretty well defined (Base64, etc.).
>
> -- A*
>
>>
>> David
>

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.

 David

Received on Thursday, 17 February 2011 17:33:54 UTC