blob: f42c497b2b498b235bb115894a485b2cbd95a1df [file] [log] [blame]
This test aborts the same transaction twice, making the appropriate exception is thrown.
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)
Initial upgrade needed: Old version - 0 New version - 1
Second abort failed: InvalidStateError: Failed to execute 'abort' on 'IDBTransaction': The transaction is inactive or finished.
Initial upgrade versionchange transaction aborted
PASS successfullyParsed is true
TEST COMPLETE