IndexedDB: don't expose IDBDatabaseError to script
[WebKit-https.git] / LayoutTests / storage / indexeddb / versionchangerequest-activedomobject-expected.txt
index 32c99bb..c8bb3fa 100644 (file)
@@ -3,21 +3,21 @@ Ensure that IDBVersionChangeRequest objects are not GC'd if they have pending ev
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-indexedDB = window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB;
-PASS indexedDB == null is false
+indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-window.dbname = 'versionchangerequest-activedomobject'
+
+self.dbname = 'versionchangerequest-activedomobject'
 
 testDeleteDatabase():
-indexedDB.deleteDatabase(window.dbname)
-window.gc()
+indexedDB.deleteDatabase(self.dbname)
+self.gc()
 PASS deleteDatabase's IDBVersionChangeRequest.onsuccess event fired
 
 testSetVersion():
-openRequest = indexedDB.open(window.dbname)
+openRequest = indexedDB.open(self.dbname)
 db = openRequest.result
 db.setVersion('1')
-window.gc()
+self.gc()
 PASS setVersion's IDBVersionChangeRequest.onsuccess event fired
 PASS successfullyParsed is true