[Webkit-unassigned] [Bug 111642] IndexedDB: Transactions can be started between versionchange oncomplete and openrequest onsuccess
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 12 13:13:15 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=111642
--- Comment #1 from Joshua Bell <jsbell at chromium.org> 2013-03-12 13:15:40 PST ---
Actually, the above repro should be fine, since the database's object store metadata is updated.
However, if an index is created in a store, the database's metadata for the store is NOT updated. So the repro needs to be.
var req = indexedDB.open("db", 1);
req.onupgradeneeded = function() {
var db = req.result;
db.createObjectStore('store').createIndex('index', 'keyPath');
req.transaction.oncomplete = function() {
db.transaction('store').objectStore('store').index('index'); // <---- HERE
};
};
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list