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.delete(IDBKeyRange) method."); | 6 description("Test IndexedDB's IDBObjectStore.delete(IDBKeyRange) method."); |
7 | 7 |
8 indexedDBTest(prepareDatabase, runTests); | 8 indexedDBTest(prepareDatabase, runTests); |
9 function prepareDatabase() | 9 function prepareDatabase() |
10 { | 10 { |
11 db = event.target.result; | 11 db = event.target.result; |
12 evalAndLog("db.createObjectStore('store')"); | 12 evalAndLog("db.createObjectStore('store')"); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 checkKeys(test.expected, nextTest); | 61 checkKeys(test.expected, nextTest); |
62 trans.onabort = unexpectedAbortCallback; | 62 trans.onabort = unexpectedAbortCallback; |
63 trans.oncomplete = nextTest; | 63 trans.oncomplete = nextTest; |
64 } else { | 64 } else { |
65 finishJSTest(); | 65 finishJSTest(); |
66 return; | 66 return; |
67 } | 67 } |
68 } | 68 } |
69 nextTest(); | 69 nextTest(); |
70 } | 70 } |
OLD | NEW |