Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / deletedatabase-delayed-by-open-and-versionchange-workers-expected.txt
blob066304fbb0d23da0099cd2ed6f1f15330ed7b50b
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)
10 [Worker] 
11 [Worker] prepareDatabase():
12 [Worker] sawVersionChange = false
13 [Worker] upgradeTransactionComplete = false
14 [Worker] h = event.target.result
15 [Worker] indexedDB.deleteDatabase(dbname)
16 [Worker] 
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
23 [Worker] 
24 [Worker] transactionOnComplete():
25 [Worker] upgradeTransactionComplete = true
26 [Worker] 
27 [Worker] onOpenSuccess():
28 [Worker] h = event.target.result
29 [Worker] h.close()
30 [Worker] Closing too late to prevent the in-flight 'blocked' event
31 [Worker] 
32 [Worker] deleteDatabaseOnBlocked():
33 PASS [Worker] sawVersionChange is true
34 [Worker] 
35 [Worker] deleteDatabaseOnSuccess():
36 PASS [Worker] upgradeTransactionComplete is true
37 PASS successfullyParsed is true
39 TEST COMPLETE