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

Re: [FileAPI] createObjectURL isReusable proposal

From: Glenn Maynard <glenn@zewt.org>
Date: Mon, 30 Jan 2012 08:18:20 -0600
Message-ID: <CABirCh8uWtyMESxu5=da6Evw41S6b+MS9+BN+E=e-DaCxtJmbg@mail.gmail.com>
To: Bronislav Klučka <Bronislav.Klucka@bauglir.com>
Cc: public-webapps@w3.org
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:31 UTC