[indexeddb] Missing TransactionInactiveError Exception type for count and index methods

In looking at the count method in IDBObjectStore and IDBIndex we noticed that its signature doesn't throw a TransactionInactiveError when the transaction being used is inactive.  We would like to add this to the spec.

In addition, the index method in IDBObjectStore uses InvalidStateError to convey two different meanings: the object has been removed or deleted and the transaction being used finished.  It seems that it would be better to separate these into: 
* InvalidStateError when the source object has been removed or deleted.
* TransactionInactiveError when the transaction being used is inactive.

What do you think?  I can open a bug if we agree this is the desired behavior.
Thanks,

Israel

Received on Tuesday, 24 January 2012 00:13:45 UTC