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("Upgrade a database, open a second connection at the same version, e
nsure specifying a lower version causes an error"); | 6 description("Upgrade a database, open a second connection at the same version, e
nsure specifying a lower version causes an error"); |
7 | 7 |
8 function test() | 8 function test() |
9 { | 9 { |
10 removeVendorPrefixes(); | 10 removeVendorPrefixes(); |
11 setDBNameFromPath(); | 11 setDBNameFromPath(); |
12 | 12 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 143 |
144 function connection5Success(evt) | 144 function connection5Success(evt) |
145 { | 145 { |
146 preamble(evt); | 146 preamble(evt); |
147 evalAndLog("db = event.target.result"); | 147 evalAndLog("db = event.target.result"); |
148 shouldBe("db.version", "4"); | 148 shouldBe("db.version", "4"); |
149 finishJSTest(); | 149 finishJSTest(); |
150 } | 150 } |
151 | 151 |
152 test(); | 152 test(); |
OLD | NEW |