chromium/third_party/blink/web_tests/storage/indexeddb/unblocked-version-changes-expected.txt

Ensure that metadata remains correct when an aborted version change is followed by another.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

dbname = "unblocked-version-changes.html"
indexedDB.deleteDatabase(dbname)


openConnection():
request = indexedDB.open(dbname, 2)


onUpgradeNeeded():
db = request.result
PASS db.version is 2
transaction = request.transaction
request = indexedDB.open(dbname, 3)
transaction.abort()


onError():
PASS db.version is 0


onUpgradeNeeded2():
db = request.result
PASS db.version is 3


onSuccess():
db = request.result
PASS db.version is 3
PASS successfullyParsed is true

TEST COMPLETE