Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / intversion-revert-on-abort-expected.txt
blob168b50e1c8d29d379ea08fa307620aee00c71d10
1 Test that integer versions are reverted when their version transactions abort.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "intversion-revert-on-abort.html"
7 indexedDB.deleteDatabase(dbname)
8 request = indexedDB.open(dbname, 2)
10 firstUpgradeNeededCallback():
11 db = event.target.result
12 db.createObjectStore('some os')
14 openSuccess():
15 db = event.target.result
16 PASS db.version is 2
17 db.close()
18 request = indexedDB.open(dbname, 3)
19 request.onupgradeneeded = secondUpgradeNeededCallback
20 request.onerror = errorAfterAbortCallback
22 secondUpgradeNeededCallback():
23 db = event.target.result
24 db.createObjectStore('some os 2')
25 event.target.transaction.abort()
27 errorAfterAbortCallback():
28 PASS db.version is 2
29 request = indexedDB.open(dbname)
30 request.onsuccess = finalSuccessCallback
32 finalSuccessCallback():
33 db = event.target.result
34 PASS db.version is 2
35 PASS db.objectStoreNames.length is 1
36 PASS db.objectStoreNames[0] is "some os"
37 PASS successfullyParsed is true
39 TEST COMPLETE