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 webkitIndexedDB.deleteDatabase()."); | 6 description("Test IndexedDB's webkitIndexedDB.deleteDatabase()."); |
7 | 7 |
8 indexedDBTest(prepareDatabase, getValue); | 8 indexedDBTest(prepareDatabase, getValue); |
9 function prepareDatabase() | 9 function prepareDatabase() |
10 { | 10 { |
11 db = event.target.result; | 11 db = event.target.result; |
12 | 12 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 request.onblocked = unexpectedBlockedCallback; | 58 request.onblocked = unexpectedBlockedCallback; |
59 } | 59 } |
60 | 60 |
61 function verifyNotFound() | 61 function verifyNotFound() |
62 { | 62 { |
63 db = evalAndLog("db = event.target.result"); | 63 db = evalAndLog("db = event.target.result"); |
64 shouldBe("db.objectStoreNames.length", "0"); | 64 shouldBe("db.objectStoreNames.length", "0"); |
65 | 65 |
66 finishJSTest(); | 66 finishJSTest(); |
67 } | 67 } |
OLD | NEW |