Re: File API: auto-revoking blob URLs

On Mon, Apr 15, 2013 at 7:49 PM, Anne van Kesteren <> wrote:
> So blob URLs are auto-revoked by default after the current script
> stops running. However, every fetch operation in existence (apart from
> synchronous XMLHttpRequest) does so asynchronous.
> So
> <img>.src = blobURL
> might very well start fetching at the point blobURL is already cleaned up.
> We need a different solution here. I'm not really sure what the
> solution is, but autoRevoke as-is does not work.

What could maybe work is having all specifications invoke synchronously which will
then do the right thing for blob URLs (take a reference to the
underlying object, etc). That seems like a better solution than as having all
APIs special case blob is just asking for trouble.


Received on Monday, 15 April 2013 19:04:40 UTC