1 Ensure IDBDatabase wrapper isn't prematurely collected.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "database-wrapper.html"
7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname, 1)
13 db = event.target.result
14 db.createObjectStore('store').createIndex('index', 'keyPath')
18 sawVersionChangeEvent = false
24 indexedDB.open(dbname, 2)
28 sawVersionChangeEvent = true
31 PASS sawVersionChangeEvent is true
32 PASS successfullyParsed is true