Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / deletedatabase-blocked-expected.txt
blobbec8f578155981269e9f7c5fbfbd47bc55998158
1 Test that deleteDatabase is blocked on open connections
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "deletedatabase-blocked.html"
7 blockedEventFired = false
8 indexedDB.open(dbname)
10 openOnSuccess():
11 h = event.target.result
12 indexedDB.deleteDatabase(dbname)
14 onVersionChange():
15 PASS event.target.version is 1
16 PASS event.oldVersion is 1
17 PASS event.newVersion is null
19 deleteDatabaseOnBlocked():
20 blockedEventFired = true
21 h.close()
23 deleteDatabaseOnSuccess():
24 PASS blockedEventFired is true
25 PASS successfullyParsed is true
27 TEST COMPLETE