| OLD | NEW |
| 1 CONSOLE ERROR: line 1: ConstraintError: Unable to add key to index 'index1': at
least one key does not satisfy the uniqueness requirements. |
| 2 CONSOLE ERROR: line 1: ConstraintError: Unable to add key to index 'index2': at
least one key does not satisfy the uniqueness requirements. |
| 3 CONSOLE ERROR: line 1: ConstraintError: Unable to add key to index 'index4': at
least one key does not satisfy the uniqueness requirements. |
| 1 Verify edge cases that lazy index population in an IndexedDB implementation migh
t reveal. | 4 Verify edge cases that lazy index population in an IndexedDB implementation migh
t reveal. |
| 2 | 5 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 7 |
| 5 | 8 |
| 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; | 9 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; |
| 7 | 10 |
| 8 dbname = "lazy-index-population.html" | 11 dbname = "lazy-index-population.html" |
| 9 indexedDB.deleteDatabase(dbname) | 12 indexedDB.deleteDatabase(dbname) |
| 10 indexedDB.open(dbname) | 13 indexedDB.open(dbname) |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 PASS ++state is 1 | 76 PASS ++state is 1 |
| 74 request2 received error event | 77 request2 received error event |
| 75 PASS ++state is 2 | 78 PASS ++state is 2 |
| 76 transaction aborted | 79 transaction aborted |
| 77 PASS ++state is 3 | 80 PASS ++state is 3 |
| 78 PASS trans.error.name is 'ConstraintError' | 81 PASS trans.error.name is 'ConstraintError' |
| 79 PASS successfullyParsed is true | 82 PASS successfullyParsed is true |
| 80 | 83 |
| 81 TEST COMPLETE | 84 TEST COMPLETE |
| 82 | 85 |
| OLD | NEW |