blob: 9090dffd3895432fcd371709e43d2f662bc83013 [file] [log] [blame]
This tests some obvious failures that can happen while calling IDBObjectStore.createIndex().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
indexedDB.deleteDatabase(dbname)
indexedDB.open(dbname)
Initial upgrade needed: Old version - 0 New version - 1
Failed to create index on a deleted object store
Failed to create multi-entry index with an array key path
Failed to create index that already exists
Failed to create index while the transaction is inactive
Initial upgrade versionchange transaction complete
Failed to create index outside of a version change transaction
readonly transaction complete
PASS successfullyParsed is true
TEST COMPLETE