blob: 6deaafb6877c320f449f8674ec04c9f4bee91a5a [file] [log] [blame]
This tests some obvious failures that can happen while calling IDBObjectStore.get().
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 get record from object store with an invalid key
Failed to get record from object store that has been deleted
Initial upgrade versionchange transaction complete
Failed to get record from object store while the transaction is inactive
readonly transaction complete
PASS successfullyParsed is true
TEST COMPLETE