IndexedDB: don't expose IDBDatabaseError to script
[WebKit-https.git] / LayoutTests / storage / indexeddb / versionchangerequest-activedomobject-expected.txt
1 Ensure that IDBVersionChangeRequest objects are not GC'd if they have pending events
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
7
8
9 self.dbname = 'versionchangerequest-activedomobject'
10
11 testDeleteDatabase():
12 indexedDB.deleteDatabase(self.dbname)
13 self.gc()
14 PASS deleteDatabase's IDBVersionChangeRequest.onsuccess event fired
15
16 testSetVersion():
17 openRequest = indexedDB.open(self.dbname)
18 db = openRequest.result
19 db.setVersion('1')
20 self.gc()
21 PASS setVersion's IDBVersionChangeRequest.onsuccess event fired
22 PASS successfullyParsed is true
23
24 TEST COMPLETE
25