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 cursor update."); | 6 description("Test IndexedDB's cursor update."); |
7 | 7 |
8 indexedDBTest(prepareDatabase); | 8 indexedDBTest(prepareDatabase); |
9 function prepareDatabase() | 9 function prepareDatabase() |
10 { | 10 { |
11 db = event.target.result; | 11 db = event.target.result; |
12 debug("setVersionSuccess():"); | 12 debug("setVersionSuccess():"); |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 evalAndExpectException("cursor.update('myUpdatedValue')", "0", "'ReadOnl
yError'"); | 208 evalAndExpectException("cursor.update('myUpdatedValue')", "0", "'ReadOnl
yError'"); |
209 evalAndLog("cursor.continue()"); | 209 evalAndLog("cursor.continue()"); |
210 } | 210 } |
211 } | 211 } |
212 | 212 |
213 function transactionComplete() | 213 function transactionComplete() |
214 { | 214 { |
215 debug("transactionComplete()"); | 215 debug("transactionComplete()"); |
216 finishJSTest(); | 216 finishJSTest(); |
217 } | 217 } |
OLD | NEW |