1 h2 shouldn't receive any blocked events, and h3 should open after h2 is open
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "setversion-blocked-by-versionchange-close.html"
7 indexedDB.deleteDatabase(dbname)
9 versionChangeComplete = false
13 h1 = event.target.result
14 indexedDB.open(dbname, 2)
15 indexedDB.open(dbname)
19 h2 = event.target.result
21 transactionOnComplete():
22 versionChangeComplete = true
28 h3 = event.target.result
30 PASS versionChangeComplete is true
32 PASS successfullyParsed is true