Test that pending transactions are not aborted during recursive JS calls until all JS is finished.

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;
PASS Boolean(indexedDB && IDBCursor && IDBDatabase && IDBDatabaseError && IDBDatabaseException && IDBFactory && IDBIndex && IDBKeyRange && IDBObjectStore && IDBRequest && IDBTransaction) is true

indexedDB.open('transaction-abort-with-js-recursion')
db = event.target.result
db.setVersion('new version')
pendingTransaction = db.transaction(['objectStore'], IDBTransaction.READ_WRITE)
Start re-entrant JS
transaction = db.transaction(['objectStore'], IDBTransaction.READ_WRITE)
End re-entrant JS
store = pendingTransaction.objectStore('objectStore')
PASS store !== undefined is true
Pending transaction aborted
PASS successfullyParsed is true

TEST COMPLETE

