blob: 916b588e0fc972be922d1c57d8c4b9f5a061de63 [file] [log] [blame]
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