1 Test that setVersion is not blocked if handle closed in versionchange handler.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "setversion-not-blocked.html"
7 indexedDB.deleteDatabase(dbname)
8 versionchangeEventFired = false
12 h1 = event.target.result
13 h1.onversionchange = h1OnVersionChange
14 indexedDB.open(dbname, 2)
17 versionchangeEventFired = true
18 PASS event.oldVersion is 1
19 PASS event.newVersion is 2
23 PASS event.oldVersion is 1
24 PASS event.newVersion is 2
27 PASS versionchangeEventFired is true
28 PASS successfullyParsed is true