| OLD | NEW |
| 1 if (this.importScripts) { | 1 if (this.importScripts) { |
| 2 importScripts('../../../fast/js/resources/js-test-pre.js'); | 2 importScripts('../../../resources/js-test.js'); |
| 3 importScripts('shared.js'); | 3 importScripts('shared.js'); |
| 4 } | 4 } |
| 5 | 5 |
| 6 description("Test IndexedDB's IDBCursor.continue() with a key parameter."); | 6 description("Test IndexedDB's IDBCursor.continue() with a key parameter."); |
| 7 | 7 |
| 8 var date = new Date(); | 8 var date = new Date(); |
| 9 | 9 |
| 10 // In order of how it should be sorted by IndexedDB. | 10 // In order of how it should be sorted by IndexedDB. |
| 11 self.testData = [ | 11 self.testData = [ |
| 12 0, | 12 0, |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 } | 234 } |
| 235 self.stage++; | 235 self.stage++; |
| 236 }; | 236 }; |
| 237 } | 237 } |
| 238 | 238 |
| 239 function onTransactionComplete() | 239 function onTransactionComplete() |
| 240 { | 240 { |
| 241 evalAndExpectException("cursor.continue()", "0", "'TransactionInactiveError'
"); | 241 evalAndExpectException("cursor.continue()", "0", "'TransactionInactiveError'
"); |
| 242 finishJSTest(); | 242 finishJSTest(); |
| 243 } | 243 } |
| OLD | NEW |