W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 09 Apr 2014 19:41:21 +0000
To: public-webapps@w3.org
Message-ID: <bug-25302-2927@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC