| 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: AbortError: Version change transaction was aborted in upg
radeneeded event handler. |
| 4 CONSOLE ERROR: line 1: AbortError: Version change transaction was aborted in upg
radeneeded event handler. |
| 5 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. | 6 Verify edge cases that lazy index population in an IndexedDB implementation migh
t reveal. |
| 2 | 7 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 9 |
| 5 | 10 |
| 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; | 11 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; |
| 7 | 12 |
| 8 dbname = "lazy-index-population.html" | 13 dbname = "lazy-index-population.html" |
| 9 indexedDB.deleteDatabase(dbname) | 14 indexedDB.deleteDatabase(dbname) |
| 10 indexedDB.open(dbname) | 15 indexedDB.open(dbname) |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 PASS ++state is 1 | 78 PASS ++state is 1 |
| 74 request2 received error event | 79 request2 received error event |
| 75 PASS ++state is 2 | 80 PASS ++state is 2 |
| 76 transaction aborted | 81 transaction aborted |
| 77 PASS ++state is 3 | 82 PASS ++state is 3 |
| 78 PASS trans.error.name is 'ConstraintError' | 83 PASS trans.error.name is 'ConstraintError' |
| 79 PASS successfullyParsed is true | 84 PASS successfullyParsed is true |
| 80 | 85 |
| 81 TEST COMPLETE | 86 TEST COMPLETE |
| 82 | 87 |
| OLD | NEW |