Re: [FileAPI] createObjectURL isReusable proposal

2012/1/30 Bronislav Klučka <Bronislav.Klucka@bauglir.com>

> it would seem that you do not understand the point here... if we allow
> img.src = blob approach we would HAVE TO have memory management on language
> level as well,
> either URL reference or blob must be freed/nulled/whatever somewhere.
> This is not simple reference taht you can count and garbaged by some
> logic, because you have no idea whether you are going to need underlying
> data or not.
>

Sorry, this doesn't make sense.  The HTMLImageElement simply retains a
strong reference to the blob.

-- 
Glenn Maynard

Received on Monday, 30 January 2012 14:18:57 UTC