| 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 dbname = "index-multientry.html" | 7 dbname = "index-multientry.html" |
| 7 indexedDB.deleteDatabase(dbname) | 8 indexedDB.deleteDatabase(dbname) |
| 8 indexedDB.open(dbname) | 9 indexedDB.open(dbname) |
| 9 store = db.createObjectStore('store') | 10 store = db.createObjectStore('store') |
| 10 store.createIndex('index', 'x', {multiEntry: true}) | 11 store.createIndex('index', 'x', {multiEntry: true}) |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 transaction = db.transaction(['store']) | 172 transaction = db.transaction(['store']) |
| 172 transaction.objectStore('store').index('index') | 173 transaction.objectStore('store').index('index') |
| 173 index.count() | 174 index.count() |
| 174 PASS event.target.result is 9 | 175 PASS event.target.result is 9 |
| 175 index.count(7) | 176 index.count(7) |
| 176 PASS event.target.result is 1 | 177 PASS event.target.result is 1 |
| 177 PASS successfullyParsed is true | 178 PASS successfullyParsed is true |
| 178 | 179 |
| 179 TEST COMPLETE | 180 TEST COMPLETE |
| 180 | 181 |
| OLD | NEW |