- From: <bugzilla@jessica.w3.org>
- Date: Fri, 16 Dec 2011 18:18:46 +0000
- To: public-webapps@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15234
Summary: Throw if IDBTransaction.objectStore() or
IDBObjectStore.index() called after transaction
finished
Product: WebAppsWG
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Indexed Database API
AssignedTo: dave.null@w3.org
ReportedBy: jsbell@chromium.org
QAContact: member-webapi-cvs@w3.org
CC: mike@w3.org, public-webapps@w3.org
The spec currently requires that IDBTransaction.objectStore() and
IDBObjectStore.index() are callable after the containing transaction has
finished. Since the "child" objects (IDBObjectStore and IDBIndex, respectively)
contain references to the parent object, this complicates lifecycle management
of these objects for implementations.
The implementation requirements could be simplified by specifying that these
methods throw InvalidStateError once the transaction is finished. Alternately,
the spec could be to throw TransactionInactiveError if the transaction is not
active, much like the get() methods.
--
Configure bugmail: https://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, 16 December 2011 18:18:51 UTC