Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / setversion-blocked-by-versionchange-close-expected.txt
blob2462510fa607c0a2b0400cfb2a50a50ae7bedfa4
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)
8 indexedDB.open(dbname)
9 versionChangeComplete = false
10 h2Opened = false
12 openAnother():
13 h1 = event.target.result
14 indexedDB.open(dbname, 2)
15 indexedDB.open(dbname)
16 h1.close()
18 h2UpgradeNeeded():
19 h2 = event.target.result
21 transactionOnComplete():
22 versionChangeComplete = true
24 h2Success():
25 h2Opened = true
27 h3Success():
28 h3 = event.target.result
29 PASS h3.version is 2
30 PASS versionChangeComplete is true
31 PASS h2Opened is true
32 PASS successfullyParsed is true
34 TEST COMPLETE