[Bug 25081] Make read operation really async

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

Anne <annevk@annevk.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonas@sicking.cc

--- Comment #6 from Anne <annevk@annevk.nl> ---
Yeah that would be good.

I think if we want to define FormData and keep the concept of closed blobs that
can be collected, we should have some kind of "keepalive number" on blob. By
default it would be 0. Whenever an attempt is made to serialize a FormData
object it would increase the "keepalive number" of the blobs it consist of by
1. Meaning that even if the blobs get closed they would still be kept alive
because they will be read from. After reading the FormData object would be
responsible for decreasing the number by 1. It needs to be a number as multiple
FormData objects might reference the same blob.

Does that make sense?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 21 March 2014 11:18:38 UTC