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 IDBObjectStore.get(IDBKeyRange) method."); | 6 description("Test IndexedDB's IDBObjectStore.get(IDBKeyRange) method."); |
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 event.target.transaction.onabort = unexpectedAbortCallback; | 12 event.target.transaction.onabort = unexpectedAbortCallback; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 146 |
147 getNullTest(store, method, resultPath, finish); | 147 getNullTest(store, method, resultPath, finish); |
148 }; | 148 }; |
149 } | 149 } |
150 | 150 |
151 function getNullTest(store, method, resultPath, finish) | 151 function getNullTest(store, method, resultPath, finish) |
152 { | 152 { |
153 evalAndExpectException(store + "." + method + "(null)", "0", "'DataError'"); | 153 evalAndExpectException(store + "." + method + "(null)", "0", "'DataError'"); |
154 evalAndLog(finish); | 154 evalAndLog(finish); |
155 } | 155 } |
OLD | NEW |