blob: d487fee326aabf5530e23ca3fe748dd68d6cfb22 [file] [log] [blame]
Tests that expected errors come back from user delete.
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
Started two spinning requests
Requested clearAllDatabases
[PASS] Both requests hit a failure condition (Received onerror or failed to start a new request because the transaction was aborted)
[PASS] Database received correct error.
[PASS] Database received onclose event.
[PASS] Transaction aborted.
PASS successfullyParsed is true
TEST COMPLETE