W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [FileAPI] readAsDataURL()

From: David Flanagan <david@davidflanagan.com>
Date: Thu, 17 Feb 2011 09:33:07 -0800
Message-ID: <4D5D5BD3.7070408@davidflanagan.com>
To: Arun Ranganathan <aranganathan@mozilla.com>
CC: public-webapps@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT