Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / deletedatabase-delayed-by-versionchange-expected.txt
blob2b581fe2b957672231ad5f3b8275f9a2f3338254
1 Test the order when there are pending setVersion, delete and open calls.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "deletedatabase-delayed-by-versionchange.html"
7 indexedDB.deleteDatabase(dbname)
8 indexedDB.open(dbname)
10 h1OpenSuccess():
11 setVersionBlockedEventFired = false
12 versionChangeComplete = false
13 deleteDatabaseBlockedEventFired = false
14 deleteDatabaseComplete = false
15 h1 = event.target.result
16 Open h2:
17 indexedDB.open(dbname)
19 h2OpenSuccess():
20 Try to open h3:
21 indexedDB.open(dbname, 2)
22 indexedDB.deleteDatabase(dbname)
24 h1OnVersionChange():
25 PASS event.target.version is 1
26 PASS event.oldVersion is 1
27 PASS event.newVersion is 2
29 h2OnVersionChange():
30 PASS event.target.version is 1
31 PASS event.oldVersion is 1
32 PASS event.newVersion is 2
34 h1SecondOnVersionChange():
35 PASS event.target.version is 1
36 PASS event.oldVersion is 1
37 PASS event.newVersion is null
39 h2OnSecondVersionChange():
40 PASS event.target.version is 1
41 PASS event.oldVersion is 1
42 PASS event.newVersion is null
44 h3Blocked():
45 setVersionBlockedEventFired = true
46 Try to open h4:
47 indexedDB.open(dbname)
48 h2.close()
50 deleteDatabaseOnBlocked():
51 deleteDatabaseBlockedEventFired = true
52 h1.close()
54 h3OnUpgradeneeded():
56 transactionOnComplete():
57 versionChangeComplete = true
59 h3OpenSuccess():
60 h3.close()
62 deleteDatabaseOnSuccess():
63 deleteDatabaseComplete = true
65 h4OpenSuccess():
66 PASS setVersionBlockedEventFired is true
67 PASS versionChangeComplete is true
68 PASS deleteDatabaseBlockedEventFired is true
69 PASS deleteDatabaseComplete is true
70 PASS successfullyParsed is true
72 TEST COMPLETE