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("Try to call db.close() after upgradeneeded but before the correspon
ding success event fires"); | 6 description("Try to call db.close() after upgradeneeded but before the correspon
ding success event fires"); |
7 | 7 |
8 function test() | 8 function test() |
9 { | 9 { |
10 removeVendorPrefixes(); | 10 removeVendorPrefixes(); |
11 setDBNameFromPath(); | 11 setDBNameFromPath(); |
12 | 12 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 shouldBeTrue("didCallCloseDB"); | 86 shouldBeTrue("didCallCloseDB"); |
87 shouldBeTrue("sawTransactionComplete"); | 87 shouldBeTrue("sawTransactionComplete"); |
88 shouldBe('db.version', "7"); | 88 shouldBe('db.version', "7"); |
89 shouldBe("db.objectStoreNames.length", "1"); | 89 shouldBe("db.objectStoreNames.length", "1"); |
90 | 90 |
91 finishJSTest(); | 91 finishJSTest(); |
92 } | 92 } |
93 | 93 |
94 test(); | 94 test(); |
OLD | NEW |