Re: IndexedDB: calling IDBTransaction.objectStore() or IDBObjectStore.index() after transaction is finished?

On Thu, Dec 15, 2011 at 12:54 PM, Joshua Bell <jsbell@chromium.org> wrote:
> Is there any particular reason why IDBTransaction.objectStore() and
> IDBObjectStore.index() should be usable (i.e. return values vs. raise
> exceptions) after the containing transaction has finished?
>
> Changing the spec so that calling these methods after the containing
> transaction has finished raises InvalidStateError (or
> TransactionInactiveError) could simplify implementations.

That would be ok with me.

Please file a bug though.

/ Jonas

Received on Friday, 16 December 2011 06:20:53 UTC