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

[IndexedDB] setVersion with multiple IDBDatabase objects

From: Jeremy Orlow <jorlow@chromium.org>
Date: Tue, 28 Sep 2010 15:42:04 +0100
Message-ID: <AANLkTi=i2iWAPfNHUbhrOfK921GXjxeLTTVJSMnoGpvh@mail.gmail.com>
To: public-webapps WG <public-webapps@w3.org>
What do we want to do if the user calls window.indexedDB.open("myDB", "some
description") twice and stores the result as db1 and db2, calls
db1.setVersion(), and then in the success handler does
db2.createObjectStore?  In other words, is the setVersion transaction tied
to the database instance that setVersion was called on, or is it available
to any instance/object that points to that particular database for that
particular origin in that particular page/worker?

Received on Tuesday, 28 September 2010 14:42:56 UTC

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