| 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("Check that transactions in different databases can run in parallel.
"); | 6 description("Check that transactions in different databases can run in parallel.
"); |
| 7 | 7 |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 removeVendorPrefixes(); | 10 removeVendorPrefixes(); |
| 11 setDBNameFromPath(); | 11 setDBNameFromPath(); |
| 12 evalAndLog("dbname1 = dbname + '1'"); | 12 evalAndLog("dbname1 = dbname + '1'"); |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 shouldBeTrue("transaction1PutSuccess"); | 125 shouldBeTrue("transaction1PutSuccess"); |
| 126 shouldBeTrue("transaction2PutSuccess"); | 126 shouldBeTrue("transaction2PutSuccess"); |
| 127 | 127 |
| 128 evalAndLog("db1.close()"); | 128 evalAndLog("db1.close()"); |
| 129 evalAndLog("db2.close()"); | 129 evalAndLog("db2.close()"); |
| 130 finishJSTest(); | 130 finishJSTest(); |
| 131 } | 131 } |
| 132 | 132 |
| 133 test(); | 133 test(); |
| OLD | NEW |