| 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 IDBDatabase internal delete pending flag"); | 6 description("Test IndexedDB IDBDatabase internal delete pending flag"); |
| 7 | 7 |
| 8 indexedDBTest(prepareDatabase, testDatabaseDelete, {"version": 5}); | 8 indexedDBTest(prepareDatabase, testDatabaseDelete, {"version": 5}); |
| 9 function prepareDatabase() | 9 function prepareDatabase() |
| 10 { | 10 { |
| 11 connection = event.target.result; | 11 connection = event.target.result; |
| 12 evalAndLog("connection.createObjectStore('store')"); | 12 evalAndLog("connection.createObjectStore('store')"); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 evalAndLog("connection2 = openRequest.result"); | 54 evalAndLog("connection2 = openRequest.result"); |
| 55 | 55 |
| 56 debug("connection2 should reference a different database:"); | 56 debug("connection2 should reference a different database:"); |
| 57 shouldBeFalse("connection2.version == connection.version"); | 57 shouldBeFalse("connection2.version == connection.version"); |
| 58 shouldBe("connection2.objectStoreNames.length", "0"); | 58 shouldBe("connection2.objectStoreNames.length", "0"); |
| 59 | 59 |
| 60 debug(""); | 60 debug(""); |
| 61 finishJSTest(); | 61 finishJSTest(); |
| 62 }; | 62 }; |
| 63 } | 63 } |
| OLD | NEW |