| OLD | NEW |
| (Empty) |
| 1 if (this.importScripts) { | |
| 2 importScripts('../../../resources/js-test.js'); | |
| 3 importScripts('shared.js'); | |
| 4 } | |
| 5 | |
| 6 description("Check that IDBFactory is available through the prefixed or unprefix
ed entry point."); | |
| 7 | |
| 8 function test() | |
| 9 { | |
| 10 shouldBeEqualToString("String(self.indexedDB)", "[object IDBFactory]"); | |
| 11 shouldBeEqualToString("String(self.webkitIndexedDB)", "[object IDBFactory]")
; | |
| 12 shouldBeNonNull("IDBCursor"); | |
| 13 shouldBeNonNull("IDBDatabase"); | |
| 14 shouldBeNonNull("IDBFactory"); | |
| 15 shouldBeNonNull("IDBIndex"); | |
| 16 shouldBeNonNull("IDBKeyRange"); | |
| 17 shouldBeNonNull("IDBObjectStore"); | |
| 18 shouldBeNonNull("IDBRequest"); | |
| 19 shouldBeNonNull("IDBTransaction"); | |
| 20 finishJSTest(); | |
| 21 } | |
| 22 | |
| 23 test(); | |
| OLD | NEW |