[Bug 17765] APIs need to take a reference to blob data underlying object URLs

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17765

--- Comment #3 from Anne <annevk@annevk.nl> 2012-07-13 18:54:50 UTC ---
Just to make sure I understand this correctly: URL.createBlobURL(blob) creates
a blob URL with an identifier. The identifier is tied to a revoke flag and
origin.

What if we add a "revoke from now on flag" to that.

Then once the URL parser is adequately defined blob URLs have some post-parsing
steps that set the revoke flag if the revoke from now on flag is set and
otherwise set the revoke from now on flag.

That would mean that:

xhr.open("GET", blob) // can be fetched
img.src = blob // fails

Parsing is always done when setting so tying it to that makes the most sense I
think. It also means not all the specifications will have to start special
casing for blob URLs. That would be a big mess.

-- 
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 18:54:52 UTC