haikuwebkit/LayoutTests/storage/indexeddb/transaction-crash-on-abort-...

17 lines
415 B
Plaintext

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;
indexedDB.deleteDatabase(dbname)
indexedDB.open(dbname)
db.createObjectStore('foo')
db.transaction('foo')
self.gc()
PASS successfullyParsed is true
TEST COMPLETE