On 1/30/12 10:40 AM, Bronislav Klučka wrote:
img1 = document.getElementById("my-image");
img1.src = URL.createObjectUrl(myBlob);
img2.src = img1.src;
should work like a charm and the URL and blob will be released as soon
as all references will be 0 (destroying the image)

No, it won't.  As currently specced it will be released when the
document goes away or when the url created via createObjectURL is
manually revoked.  That's precisely the problem.

-Boris

Reply via email to