W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

[IndexedDB] Calling setVersion while already in a setVersion transaction

From: Jeremy Orlow <jorlow@chromium.org>
Date: Wed, 29 Sep 2010 14:12:08 +0100
Message-ID: <AANLkTim=7942_yonp5fQeWLvEx8JusRgP9P1J+hC3jrS@mail.gmail.com>
To: public-webapps WG <public-webapps@w3.org>
What should we do when setVersion is called while a setVersion transaction
is currently active?

Off the top of my head, I can think of two behaviors we might want to spec:
 1) Have the subsequent setVersion simply throw an error.  2) Have the
subsequent setVersion adopt the existing setVersion transaction and change
the version.  (i.e. whatever the last setVersion call sets as the version
string will win.)  Any others?  What do you guys think is the most sane

Received on Wednesday, 29 September 2010 13:13:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:11 UTC