blob: d4e39397c8ac8bc8c546d5838344ffb2ab76d972 [file] [log] [blame]
Check processing of pending version change requests - same versions.
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)
onConnection1Open():
indexedDB.open(dbname, 2)
indexedDB.open(dbname, 2)
connection2Blocked():
db.close()
connection2UpgradeNeeded():
PASS event.oldVersion is 1
PASS event.newVersion is 2
connection2OpenSuccess():
db2 = event.target.result
PASS db2.version is 2
connection3OpenSuccess():
db3 = event.target.result
PASS db3.version is 2
PASS successfullyParsed is true
TEST COMPLETE