W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 15 Dec 2011 22:19:50 -0800
Message-ID: <CA+c2ei-fWpqv119c_26xdF=Yw3-FgAwDwt7orF-gZxJSMfg=iQ@mail.gmail.com>
To: Joshua Bell <jsbell@chromium.org>
Cc: public-webapps@w3.org
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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:37 UTC