Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / connection-leak-expected.txt
blob9dd0cfa1d67cb2f886e67c9ebad074da162a429f
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"
8 doFirstOpen():
9 request = indexedDB.open(dbname, 1)
10 sawUpgradeNeeded1 = false
12 onUpgradeNeeded1():
13 sawUpgradeNeeded1 = true
15 onOpenSuccess1():
16 PASS sawUpgradeNeeded1 is true
17 db = request.result
18 db.close()
20 doSecondOpen():
21 request = indexedDB.open(dbname, 1)
23 onOpenSuccess2():
24 db = request.result
25 db = null
26 request = null
27 Run GC outside of request's callback via setTimeout()
28 window.gc()
30 doThirdOpen():
31 request = indexedDB.open(dbname, 2)
32 sawUpgradeNeeded3 = false
34 onUpgradeNeeded2():
35 sawUpgradeNeeded3 = true
37 onOpenSuccess3():
38 PASS sawUpgradeNeeded3 is true
39 db = request.result
40 db.close()
41 PASS successfullyParsed is true
43 TEST COMPLETE