Re: File API: Blob URL origin

On Mon, Jun 30, 2014 at 10:48 PM, Arun Ranganathan <arun@mozilla.com> wrote:
> They are! That is, at the time the method URL.createObjectURL(blob) is
> called on blob, that method adds an entry to the Blob URL Store:
> http://dev.w3.org/2006/webapi/FileAPI/#add-an-entry
>
> I’ve only defined identifier extraction for use with adding an entry. Is
> that wrong?

It seems like you could define identifier creation, use that, use the
return value to add an entry, and then return "blob:" + the return
value. Creating a URL first and then parsing it again to extract
something seems needlessly complicated.


-- 
http://annevankesteren.nl/

Received on Monday, 30 June 2014 20:57:39 UTC