1 Ensure cursor wrappers are created correctly.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "cursor-cast.html"
7 indexedDB.deleteDatabase(dbname)
11 db = event.target.result
12 store = db.createObjectStore('store')
16 db = event.target.result
17 tx = db.transaction('store', 'readwrite')
18 request = tx.objectStore('store').openCursor()
20 onOpenCursorSuccess():
21 cursor = event.target.result
22 request = cursor.update(1)
26 PASS request.source.toString() is "[object IDBCursorWithValue]"
27 PASS successfullyParsed is true