OLD | NEW |
1 if (this.importScripts) { | 1 if (this.importScripts) { |
2 importScripts('../../../resources/js-test.js'); | 2 importScripts('../../../resources/js-test.js'); |
3 importScripts('shared.js'); | 3 importScripts('shared.js'); |
4 } | 4 } |
5 | 5 |
6 description("Test IndexedDB's interfaces."); | 6 description("Test IndexedDB's interfaces."); |
7 | 7 |
8 function test() | 8 function test() |
9 { | 9 { |
10 removeVendorPrefixes(); | |
11 shouldBeTrue("'IDBCursor' in self"); | 10 shouldBeTrue("'IDBCursor' in self"); |
12 shouldBeTrue("'IDBCursorWithValue' in self"); | 11 shouldBeTrue("'IDBCursorWithValue' in self"); |
13 shouldBeTrue("'IDBDatabase' in self"); | 12 shouldBeTrue("'IDBDatabase' in self"); |
14 shouldBeTrue("'IDBFactory' in self"); | 13 shouldBeTrue("'IDBFactory' in self"); |
15 shouldBeTrue("'IDBIndex' in self"); | 14 shouldBeTrue("'IDBIndex' in self"); |
16 shouldBeTrue("'IDBKeyRange' in self"); | 15 shouldBeTrue("'IDBKeyRange' in self"); |
17 shouldBeTrue("'IDBObjectStore' in self"); | 16 shouldBeTrue("'IDBObjectStore' in self"); |
18 shouldBeTrue("'IDBOpenDBRequest' in self"); | 17 shouldBeTrue("'IDBOpenDBRequest' in self"); |
19 shouldBeTrue("'IDBRequest' in self"); | 18 shouldBeTrue("'IDBRequest' in self"); |
20 shouldBeTrue("'IDBTransaction' in self"); | 19 shouldBeTrue("'IDBTransaction' in self"); |
21 shouldBeTrue("'IDBVersionChangeEvent' in self"); | 20 shouldBeTrue("'IDBVersionChangeEvent' in self"); |
22 | 21 |
23 finishJSTest(); | 22 finishJSTest(); |
24 } | 23 } |
25 | 24 |
26 test(); | 25 test(); |
OLD | NEW |