/home/clopez/webkit/webkit/layout-test-results/storage/indexeddb/setversion-blocked-by-versionchange-close-actual.txt

1 h2 shouldn't receive any blocked events, and h3 should open after h2 is open
 1FAIL: Timed out waiting for notifyDone to be called
22
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4 
5 
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
7 
8 indexedDB.deleteDatabase(dbname)
9 indexedDB.open(dbname)
10 blockedEventFired = false
11 versionChangeComplete = false
12 h2Opened = false
13 
14 openAnother():
15 h1 = event.target.result
16 indexedDB.open(dbname, 2)
17 indexedDB.open(dbname)
18 h1.close()
19 
20 h2UpgradeNeeded():
21 h2 = event.target.result
22 
23 transactionOnComplete():
24 versionChangeComplete = true
25 
26 h2Success():
27 h2Opened = true
28 
29 h3Success():
30 h3 = event.target.result
31 PASS h3.version is 2
32 PASS blockedEventFired is false
33 PASS versionChangeComplete is true
34 PASS h2Opened is true
35 PASS successfullyParsed is true
36 
37 TEST COMPLETE
38