| 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 webkitIDBIndex.openCursor + the cursor it produces
in depth."); | 6 description("Test IndexedDB's webkitIDBIndex.openCursor + the cursor it produces
in depth."); |
| 7 | 7 |
| 8 // In order of how it should be sorted by IndexedDB. | 8 // In order of how it should be sorted by IndexedDB. |
| 9 self.testData = [ | 9 self.testData = [ |
| 10 1, | 10 1, |
| 11 1, | 11 1, |
| 12 3.14159, | 12 3.14159, |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 return; | 220 return; |
| 221 } | 221 } |
| 222 | 222 |
| 223 debug(""); | 223 debug(""); |
| 224 debug(str); | 224 debug(str); |
| 225 | 225 |
| 226 var request = indexObject.openKeyCursor(null, ascending ? 'next' : 'prev'); | 226 var request = indexObject.openKeyCursor(null, ascending ? 'next' : 'prev'); |
| 227 request.onsuccess = cursorIteration; | 227 request.onsuccess = cursorIteration; |
| 228 request.onerror = unexpectedErrorCallback; | 228 request.onerror = unexpectedErrorCallback; |
| 229 } | 229 } |
| OLD | NEW |