1 Regression test to ensure that IndexedDB connections don't leak
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "connection-leak.html"
9 request = indexedDB.open(dbname, 1)
10 sawUpgradeNeeded1 = false
13 sawUpgradeNeeded1 = true
16 PASS sawUpgradeNeeded1 is true
21 request = indexedDB.open(dbname, 1)
27 Run GC outside of request's callback via setTimeout()
31 request = indexedDB.open(dbname, 2)
32 sawUpgradeNeeded3 = false
35 sawUpgradeNeeded3 = true
38 PASS sawUpgradeNeeded3 is true
41 PASS successfullyParsed is true