blob: 8eb85b1fa6d531400dd954997f7909f02f1e5f5c [file] [log] [blame]
This test exercises IDBObjectStore.delete() followed by an abort to make sure the delete is un-done.
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
Initial upgrade versionchange transaction complete
After delete, record for "foo" has value: undefined
readwrite transaction aborted
Record for "foo" has final value: bar
readonly transaction complete
PASS successfullyParsed is true
TEST COMPLETE