Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / transaction-coordination-across-databases-expected.txt
blob17fb0526bee6777ca06a9c1ad3a40a540c36c800
1 Check that transactions in different databases can run in parallel.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "transaction-coordination-across-databases.html"
7 dbname1 = dbname + '1'
8 dbname2 = dbname + '2'
10 deleteDatabase1():
11 indexedDB.deleteDatabase(dbname1)
13 deleteDatabase2():
14 indexedDB.deleteDatabase(dbname2)
16 openDatabase1():
17 indexedDB.open(dbname1, 1)
19 openOnUpgradeNeeded1():
20 db1 = event.target.result
21 store1 = db1.createObjectStore('store')
22 store1.put(0, 0)
24 openOnSuccess1():
25 db1 = event.target.result
27 openDatabase2():
28 indexedDB.open(dbname2, 1)
30 onUpgradeNeeded2():
31 db2 = event.target.result
32 store2 = db2.createObjectStore('store')
34 openOnSuccess2():
35 db2 = event.target.result
37 startWork():
38 transaction1 = db1.transaction('store', 'readwrite')
39 transaction2 = db2.transaction('store', 'readwrite')
40 transaction1PutSuccess = false
41 transaction2PutSuccess = false
42 Keep both transactions alive until each has reported at least one successful operation
44 onTransactionComplete():
45 first transaction complete, still waiting...
47 onTransactionComplete():
48 PASS transaction1PutSuccess is true
49 PASS transaction2PutSuccess is true
50 db1.close()
51 db2.close()
52 PASS successfullyParsed is true
54 TEST COMPLETE