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 that initial version after a successful open of a non-existent
db is 1"); | 6 description("Test that initial version after a successful open of a non-existent
db is 1"); |
7 | 7 |
8 function test() | 8 function test() |
9 { | 9 { |
10 removeVendorPrefixes(); | 10 removeVendorPrefixes(); |
11 setDBNameFromPath(); | 11 setDBNameFromPath(); |
12 | 12 |
(...skipping 17 matching lines...) Expand all Loading... |
30 event = evt; | 30 event = evt; |
31 debug(""); | 31 debug(""); |
32 debug("openSuccess():"); | 32 debug("openSuccess():"); |
33 db = evalAndLog("db = event.target.result"); | 33 db = evalAndLog("db = event.target.result"); |
34 debug("Test line from IDBFactory.open: If no version is specified and no dat
abase exists, set database version to 1."); | 34 debug("Test line from IDBFactory.open: If no version is specified and no dat
abase exists, set database version to 1."); |
35 shouldBe('db.version', '1'); | 35 shouldBe('db.version', '1'); |
36 finishJSTest(); | 36 finishJSTest(); |
37 } | 37 } |
38 | 38 |
39 test(); | 39 test(); |
OLD | NEW |