blob: 9d7edf26b05b1b8b469fbd9a809cc7984c5b453f [file] [log] [blame]
Test IndexedDB transaction does not crash on abort.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
dbname = "transaction-crash-on-abort.html"
indexedDB.deleteDatabase(dbname)
indexedDB.open(dbname)
db.createObjectStore('foo')
db.transaction('foo')
self.gc()
PASS successfullyParsed is true
TEST COMPLETE