[Bug 25302] New: Blob objects should have a keepalive list of objects

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

            Bug ID: 25302
           Summary: Blob objects should have a keepalive list of objects
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: File API
          Assignee: arun@mozilla.com
          Reporter: arun@mozilla.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: public-webapps@w3.org

Bug 25081 Comment 6 suggests a keepalive list of objects that need a reference
to a Blob to be active, whether or not it is closed.

The behavior might be:

1. That the keepalive list allows objects to add themselves to it, but only if
the internal status marker of the Blob is OPENED.

2. That when CLOSED, the blob no longer lets objects add themselves to it, but
does not purge objects already in it. The CLOSED blob sort of becomes a "ghost"
-- only readable by objects (e.g. FormData) that need it, despite it being
neutered -- but not accessible by any operation following the .close() call. 

3. Objects remove themselves from the Blob's keepalive list.

4. When all objects have removed themselves from it, it can be gc'd (at UA
discretion).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 9 April 2014 19:41:22 UTC