| OLD | NEW |
| 1 CONSOLE ERROR: line 1: ConstraintError: Unable to add key to index 'index-unique
': at least one key does not satisfy the uniqueness requirements. |
| 1 Test features of IndexedDB's multiEntry indices. | 2 Test features of IndexedDB's multiEntry indices. |
| 2 | 3 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 5 |
| 5 | 6 |
| 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; | 7 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; |
| 7 | 8 |
| 8 dbname = "index-multientry.html" | 9 dbname = "index-multientry.html" |
| 9 indexedDB.deleteDatabase(dbname) | 10 indexedDB.deleteDatabase(dbname) |
| 10 indexedDB.open(dbname) | 11 indexedDB.open(dbname) |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 transaction = db.transaction(['store']) | 174 transaction = db.transaction(['store']) |
| 174 transaction.objectStore('store').index('index') | 175 transaction.objectStore('store').index('index') |
| 175 index.count() | 176 index.count() |
| 176 PASS event.target.result is 9 | 177 PASS event.target.result is 9 |
| 177 index.count(7) | 178 index.count(7) |
| 178 PASS event.target.result is 1 | 179 PASS event.target.result is 1 |
| 179 PASS successfullyParsed is true | 180 PASS successfullyParsed is true |
| 180 | 181 |
| 181 TEST COMPLETE | 182 TEST COMPLETE |
| 182 | 183 |
| OLD | NEW |