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 UTC

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