1 Ensure IndexedDB's cursor prefetch cache requests are invalidated
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "prefetch-race.html"
7 indexedDB.deleteDatabase(dbname)
11 db = event.target.result
12 store = db.createObjectStore('store')
13 Populate with even records...
16 db = event.target.result
17 tx = db.transaction('store', 'readwrite')
18 store = tx.objectStore('store')
19 request = store.openCursor()
33 That should have triggered a prefetch, injecting odd records...
52 PASS continueCount is 7
53 PASS successfullyParsed is true