1 Test that an abort in the initial upgradeneeded sets version back to 0
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "intversion-abort-in-initial-upgradeneeded.html"
7 indexedDB.deleteDatabase(dbname)
8 indexedDB.open(dbname, 2)
9 request.onupgradeneeded = upgradeNeeded
10 request.onerror = onError
17 PASS event.target.db.version is 0
18 PASS request.transaction is non-null.
21 PASS request is event.target
22 PASS event.target.result is undefined.
23 PASS event.target.error is non-null.
24 PASS event.target.error.name is "AbortError"
25 PASS request.transaction is null
26 PASS successfullyParsed is true