- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Mon, 30 Jan 2012 10:56:06 -0500
- To: public-webapps@w3.org
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
Received on Monday, 30 January 2012 15:56:34 UTC