1 [Worker] Test that deleteDatabase is delayed if a VERSION_CHANGE transaction is running
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Starting worker: resources/deletedatabase-delayed-by-open-and-versionchange.js
7 [Worker] dbname = "deletedatabase-delayed-by-open-and-versionchange.js"
8 [Worker] indexedDB.deleteDatabase(dbname)
9 [Worker] indexedDB.open(dbname)
11 [Worker] prepareDatabase():
12 [Worker] sawVersionChange = false
13 [Worker] upgradeTransactionComplete = false
14 [Worker] h = event.target.result
15 [Worker] indexedDB.deleteDatabase(dbname)
17 [Worker] onVersionChange():
18 PASS [Worker] event.target.version is 1
19 PASS [Worker] event.oldVersion is 1
20 PASS [Worker] event.newVersion is null
21 [Worker] sawVersionChange = true
22 [Worker] Connection is not closed, so 'blocked' should fire
24 [Worker] transactionOnComplete():
25 [Worker] upgradeTransactionComplete = true
27 [Worker] onOpenSuccess():
28 [Worker] h = event.target.result
30 [Worker] Closing too late to prevent the in-flight 'blocked' event
32 [Worker] deleteDatabaseOnBlocked():
33 PASS [Worker] sawVersionChange is true
35 [Worker] deleteDatabaseOnSuccess():
36 PASS [Worker] upgradeTransactionComplete is true
37 PASS successfullyParsed is true