[Bug 16952] Add a Blob.close()

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

--- Comment #2 from Jonas Sicking <jonas@sicking.cc> 2012-05-07 17:23:53 UTC ---
Blobs represent a potentially large amount of data, which in best case is on
disk, worst case in memory, in both cases expensive on mobile.

It's generally a bad idea to rely on GC for managing expensive resources. (I
believe that is a quote from Darin Fisher, but don't quote me on that :) ).

Hence it makes sense to me to have an explicit function to neuter a Blob.
However, I think it's important that when you do neuter it, any already started
reading operations will not be affected, and any other Blob instances,
including slices, are not affected.

-- 
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 Monday, 7 May 2012 17:23:56 UTC