1 Verify Indexed DB transactions are ordered per spec
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "transaction-ordering.html"
7 indexedDB.deleteDatabase(dbname)
11 db = event.target.result
12 store = db.createObjectStore('store')
15 db = event.target.result
17 Create in order tx1, tx2
18 tx1 = db.transaction('store', 'readwrite')
19 tx2 = db.transaction('store', 'readwrite')
22 tx2.objectStore('store').get(0)
23 tx1.objectStore('store').get(0)
30 PASS areArraysEqual(order, [ 1, 2 ]) is true
31 PASS successfullyParsed is true