haikuwebkit/LayoutTests/storage/indexeddb/modern/transaction-scheduler-2-exp...

19 lines
692 B
Plaintext

This test makes sure that two read-only transactions to two different object stores are active at the same time.
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)
Upgrade needed: Old version - 0 New version - 1
versionchange transaction completed
Success opening database connection - Starting transaction to ObjectStore OS1
Success opening database connection - Starting transaction to ObjectStore OS2
Two transactions open at once. Yay.
PASS successfullyParsed is true
TEST COMPLETE