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 exceptions in IDBRequest handlers cause aborts."); | 6 description("Test exceptions in IDBRequest handlers cause aborts."); |
7 | 7 |
8 indexedDBTest(prepareDatabase, startTest); | 8 indexedDBTest(prepareDatabase, startTest); |
9 function prepareDatabase() | 9 function prepareDatabase() |
10 { | 10 { |
11 db = event.target.result; | 11 db = event.target.result; |
12 event.target.transaction.onabort = unexpectedAbortCallback; | 12 event.target.transaction.onabort = unexpectedAbortCallback; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 request.onerror = unexpectedErrorCallback; | 88 request.onerror = unexpectedErrorCallback; |
89 } | 89 } |
90 | 90 |
91 function transactionCompleted2() | 91 function transactionCompleted2() |
92 { | 92 { |
93 debug(""); | 93 debug(""); |
94 testPassed("The transaction completed."); | 94 testPassed("The transaction completed."); |
95 debug(""); | 95 debug(""); |
96 finishJSTest(); | 96 finishJSTest(); |
97 } | 97 } |
OLD | NEW |