summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/indexeddb/queued-commands-expected.txt
blob: 916b588e0fc972be922d1c57d8c4b9f5a061de63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Verify that queuing up several commands works (and they all fire).

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


webkitIndexedDB.open('queued-commands')
db = event.target.result
db.setVersion('new version')
setVersionSuccess():
trans = event.target.result
PASS trans !== null is true
Deleted all object stores.
db.createObjectStore('storeName')
store.createIndex('indexName', 'x')
store.add({x: 'value', y: 'zzz'}, 'key')
store.add({x: 'value2', y: 'zzz2'}, 'key2')
store.put({x: 'valu2', y: 'zz2'}, 'ky2')
PASS 0 is 0
PASS 1 is 1
PASS 2 is 2
PASS successfullyParsed is true

TEST COMPLETE