Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / factory-basics-expected.txt
blobc2503f4a439118c775a95ce121a24bef368e7a19
1 Test the basics of IndexedDB's IDBFactory.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS typeof indexedDB.open is "function"
7 PASS typeof indexedDB.cmp is "function"
8 PASS typeof indexedDB.deleteDatabase is "function"
9 PASS typeof indexedDB.webkitGetDatabaseNames is "function"
10 PASS typeof indexedDB.getDatabaseNames is "undefined"
11 request = indexedDB.webkitGetDatabaseNames()
12 PASS request.source is null
13 databaseNames = event.target.result
14 PASS databaseNames.contains('storage/indexeddb/factory-basics') is false
15 PASS databaseNames.contains('DATABASE THAT DOES NOT EXIST') is false
16 request = indexedDB.open(name)
17 PASS request.source is null
18 event.target.result.close()
19 indexedDB.webkitGetDatabaseNames()
20 databaseNames = event.target.result
21 PASS databaseNames.contains('storage/indexeddb/factory-basics') is true
22 PASS databaseNames.contains('DATABASE THAT DOES NOT EXIST') is false
23 request = indexedDB.deleteDatabase('storage/indexeddb/factory-basics')
24 PASS request.source is null
25 indexedDB.webkitGetDatabaseNames()
26 databaseNames = event.target.result
27 PASS databaseNames.contains('storage/indexeddb/factory-basics') is false
28 PASS databaseNames.contains('DATABASE THAT DOES NOT EXIST') is false
29 indexedDB.deleteDatabase('DATABASE THAT DOES NOT EXIST')
30 PASS successfullyParsed is true
32 TEST COMPLETE