[Bug 11164] New: There is no way to get from an error event to other objectStores

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11164

           Summary: There is no way to get from an error event to other
                    objectStores
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: nikunj.mehta@oracle.com
        ReportedBy: jonas@sicking.cc
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


If inserting data into an objectStore fails, and an error event is dispatched,
it is possible to get to the objectStore where the insertion failed, but from
there you can't get to the transaction and thus not to the other objectStores.

We should either add .transaction to error events (possibly by mucking with the
inheritance chain for IDBTransactionEvent), or by adding .transaction to
IDBObjectStore. Possibly we should do both.

Similarly, we might want to add .objectStore on IDBIndex.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 29 October 2010 05:44:05 UTC