- From: <bugzilla@jessica.w3.org>
- Date: Fri, 13 Jul 2012 19:05:35 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17765 --- Comment #4 from Glenn Maynard <glenn@zewt.org> 2012-07-13 19:05:34 UTC --- (In reply to comment #3) > xhr.open("GET", blob) // can be fetched > img.src = blob // fails Both of these succeed. You can use the URL as many times as you like (including zero). The URL is revoked when the script returns to the browser, the next time "provide a stable state" happens. This ticket is about something else: whenever an API receives a blob URL that it will use later asynchronously, it needs to grab a reference to the underlying blob data immediately, so the reference is still available when the async load begins (even though the blob URL no longer exists). It might be possible to do this in resolve, attaching the blob data to result. We'd need to make sure that all APIs resolve synchronously ("update the image data" and XHR do, at least); doing it in a queued task or async section would be too late. -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Friday, 13 July 2012 19:05:36 UTC