| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../fast/js/resources/js-test-pre.js"></script> | 2 <script src="../../fast/js/resources/js-test-pre.js"></script> |
| 3 <script src="resources/shared.js"></script> | 3 <script src="resources/shared.js"></script> |
| 4 <script> | 4 <script> |
| 5 | 5 |
| 6 description("Verify edge cases that lazy index population in an IndexedDB implem
entation might reveal."); | 6 description("Verify edge cases that lazy index population in an IndexedDB implem
entation might reveal."); |
| 7 | 7 |
| 8 indexedDBTest(prepareDatabase, verifyPreExistingIndex); | 8 indexedDBTest(prepareDatabase, verifyPreExistingIndex); |
| 9 function prepareDatabase() | 9 function prepareDatabase() |
| 10 { | 10 { |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 trans.oncomplete = unexpectedCompleteCallback; | 165 trans.oncomplete = unexpectedCompleteCallback; |
| 166 trans.onabort = function () { | 166 trans.onabort = function () { |
| 167 debug("transaction aborted"); | 167 debug("transaction aborted"); |
| 168 shouldBe("++state", "3"); | 168 shouldBe("++state", "3"); |
| 169 shouldBe("trans.error.name", "'ConstraintError'"); | 169 shouldBe("trans.error.name", "'ConstraintError'"); |
| 170 }; | 170 }; |
| 171 }; | 171 }; |
| 172 } | 172 } |
| 173 | 173 |
| 174 </script> | 174 </script> |
| 175 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| OLD | NEW |