| This test creates some object stores with keypaths. It then puts some values in them. It makes sure the keys used are as expected. |
| |
| 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 |
| object put SUCCESS - foo1 |
| array put SUCCESS - foo2 |
| Second object put SUCCESS - baz1 |
| Second array put SUCCESS - baz2 |
| Initial upgrade versionchange transaction complete |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |