blob: 49f7d242acdd285cf12a463e5729e71b9ea960ef [file] [log] [blame]
This tests the most basic operation of the IDBIndex methods get(), getKey(), and count().
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
get result is: [object Object]
bar is good
baz is bad
getKey result is: foo
count result is: 1
Initial upgrade versionchange transaction complete
PASS successfullyParsed is true
TEST COMPLETE