| 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 |
| |