Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / open-ordering-expected.txt
blobdaa625d9fba1dc3a508902e7f8e791620b8983f3
1 Test IndexedDB ordering of pending open calls.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "open-ordering.html"
7 indexedDB.deleteDatabase(dbname)
8 indexedDB.open(dbname, 2)
10 runTest():
11 connection = event.target.result
13 First a delete request, which will defer subsequent opens. The delete itself will be blocked by the open connection.
14 deleteRequest = indexedDB.deleteDatabase(dbname)
16 Now three open requests:
17 order = []
18 request1 = indexedDB.open(dbname, 2)
19 request2 = indexedDB.open(dbname)
20 request3 = indexedDB.open(dbname, 2)
22 Close the connection to unblock the delete
23 connection.close()
25 onDeleteSuccess():
27 onRequest1Success():
28 order.push(1)
30 onRequest2Success():
31 order.push(2)
33 onRequest3Success():
34 order.push(3)
36 checkOrder():
37 PASS JSON.stringify(order) is "[1,2,3]"
38 PASS successfullyParsed is true
40 TEST COMPLETE