File API: auto-revoking blob URLs

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.


--
http://annevankesteren.nl/

Received on Monday, 15 April 2013 18:50:03 UTC