Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / intversion-close-between-events-expected.txt
blobde1a99c7a6d21926906284249204b249f2d2f736
1 Try to call db.close() after upgradeneeded but before the corresponding success event fires
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "intversion-close-between-events.html"
7 indexedDB.deleteDatabase(dbname)
9 deleteSuccess():
10 request = indexedDB.open(dbname, 7)
12 upgradeNeeded():
13 db = event.target.result
14 PASS event.newVersion is 7
15 db.createObjectStore('objectstore')
16 transaction = event.target.transaction
18 transactionComplete():
19 sawTransactionComplete = true
21 Now try and close the database after oncomplete but before onsuccess.
22 This will not happen in single process ports. In multi-process ports
23 it may and is fine; but flaky crashes would indicate a regression.
25 setTimeout(closeDB, 0)
27 checkFinished():
28 Not done yet...
30 checkFinished():
31 PASS didCallCloseDB is true
32 PASS sawTransactionComplete is true
33 PASS db.version is 7
34 PASS db.objectStoreNames.length is 1
35 PASS successfullyParsed is true
37 TEST COMPLETE