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 the basics of IndexedDB's IDBFactory."); | 6 description("Test the basics of IndexedDB's IDBFactory."); |
7 | 7 |
8 function test() | 8 function test() |
9 { | 9 { |
10 removeVendorPrefixes(); | 10 removeVendorPrefixes(); |
11 | 11 |
12 shouldBeEqualToString("typeof indexedDB.open", "function"); | 12 shouldBeEqualToString("typeof indexedDB.open", "function"); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 request.onsuccess = deleteDatabaseSuccess2; | 79 request.onsuccess = deleteDatabaseSuccess2; |
80 request.onerror = unexpectedErrorCallback; | 80 request.onerror = unexpectedErrorCallback; |
81 } | 81 } |
82 | 82 |
83 function deleteDatabaseSuccess2() | 83 function deleteDatabaseSuccess2() |
84 { | 84 { |
85 finishJSTest(); | 85 finishJSTest(); |
86 } | 86 } |
87 | 87 |
88 test(); | 88 test(); |
OLD | NEW |