| 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 description("Validate the overloads of IDBObjectStore.openCursor(), IDBIndex.ope
nCursor() and IDBIndex.openKeyCursor()."); | 5 description("Validate the overloads of IDBObjectStore.openCursor(), IDBIndex.ope
nCursor() and IDBIndex.openKeyCursor()."); |
| 6 | 6 |
| 7 indexedDBTest(prepareDatabase, verifyOverloads); | 7 indexedDBTest(prepareDatabase, verifyOverloads); |
| 8 function prepareDatabase() | 8 function prepareDatabase() |
| 9 { | 9 { |
| 10 db = event.target.result; | 10 db = event.target.result; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 request = eval(statement); | 82 request = eval(statement); |
| 83 request.onerror = unexpectedErrorCallback; | 83 request.onerror = unexpectedErrorCallback; |
| 84 request.onsuccess = function() { | 84 request.onsuccess = function() { |
| 85 debug(statement); | 85 debug(statement); |
| 86 shouldBeNonNull("event.target.result") | 86 shouldBeNonNull("event.target.result") |
| 87 shouldBeEqualToString("event.target.result.direction", direction); | 87 shouldBeEqualToString("event.target.result.direction", direction); |
| 88 }; | 88 }; |
| 89 } | 89 } |
| 90 | 90 |
| 91 </script> | 91 </script> |
| 92 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| OLD | NEW |