| This tests iterating a "next" cursor in a read-write transaction combined with clearing the object store. |
| |
| 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 |
| Cursor open at key 0 |
| Object store cleared. |
| Cursor iterated to key 100 |
| Initial upgrade versionchange transaction complete |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |