1 Regression test for IDBRequest issue calling continue on a cursor then aborting.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "request-continue-abort.html"
7 indexedDB.deleteDatabase(dbname)
9 db.createObjectStore('store')
12 transaction = db.transaction('store', 'readwrite')
13 store = transaction.objectStore('store')
14 store.add('value1', 'key1')
15 store.add('value2', 'key2')
18 request = store.openCursor()
20 'success' event fired at request.
22 request.result.continue()
24 'error' event fired at request.
27 'abort' event fired at transaction.
29 PASS successfullyParsed is true