haikuwebkit/LayoutTests/storage/indexeddb/modern/index-get-count-basic-priva...

21 lines
595 B
Plaintext

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