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

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

From: Joshua Bell <jsbell@chromium.org>
Date: Thu, 15 Dec 2011 12:54:59 -0800
Message-ID: <CAD649j70wgV_JYv22recCXXz8kYxb2D3xvjgd+pZkhRttGpb=w@mail.gmail.com>
To: public-webapps@w3.org
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.
Received on Thursday, 15 December 2011 21:48:22 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:49 GMT