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("Regression test for http://crbug.com/108071"); | 6 description("Regression test for http://crbug.com/108071"); |
7 | 7 |
8 // Have to be at least 5 here: 1 initial, 3 continues to trigger prefetch and 1 | 8 // Have to be at least 5 here: 1 initial, 3 continues to trigger prefetch and 1 |
9 // post-abort outstanding continue. | 9 // post-abort outstanding continue. |
10 var names = ['Alpha', 'Bravo', 'Charlie', 'Delta', 'Echo']; | 10 var names = ['Alpha', 'Bravo', 'Charlie', 'Delta', 'Echo']; |
11 | 11 |
12 indexedDBTest(prepareDatabase, iterateAndDeleteFirstElement); | 12 indexedDBTest(prepareDatabase, iterateAndDeleteFirstElement); |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 cursor.continue(); | 83 cursor.continue(); |
84 } | 84 } |
85 } | 85 } |
86 } | 86 } |
87 | 87 |
88 function transactionAborted() | 88 function transactionAborted() |
89 { | 89 { |
90 testPassed("Transaction aborted as expected"); | 90 testPassed("Transaction aborted as expected"); |
91 finishJSTest(); | 91 finishJSTest(); |
92 } | 92 } |
OLD | NEW |