Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / intversion-persistence-expected.txt
blob6a0f8eba0444aacb29f88157f9583354131b6b2a
1 Test that integer versions are retained when backing store is opened/closed/re-opened.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "intversion-persistence.html"
7 dbname = dbname + Date.now()
9 openFirstTime():
10 indexedDB.open(dbname, 1)
11 db = request.result
12 upgradeNeededFired = true
13 PASS db.version is 1
14 PASS db.objectStoreNames.length is 0
15 db.createObjectStore('store')
16 PASS upgradeNeededFired is true
17 db = request.result
18 PASS db.version is 1
19 PASS db.objectStoreNames.length is 1
20 db.close()
22 openSecondTime():
23 indexedDB.open(dbname, 1)
24 db = request.result
25 PASS db.version is 1
26 PASS db.objectStoreNames.length is 1
27 db.close()
29 PASS successfullyParsed is true
31 TEST COMPLETE