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("Ensure that metadata remains correct when an aborted version change
is followed by another. "); | 6 description("Ensure that metadata remains correct when an aborted version change
is followed by another. "); |
7 | 7 |
8 function test() { | 8 function test() { |
9 removeVendorPrefixes(); | 9 removeVendorPrefixes(); |
10 setDBNameFromPath(); | 10 setDBNameFromPath(); |
11 request = evalAndLog("indexedDB.deleteDatabase(dbname)"); | 11 request = evalAndLog("indexedDB.deleteDatabase(dbname)"); |
12 request.onblocked = unexpectedBlockedCallback; | 12 request.onblocked = unexpectedBlockedCallback; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 function onSuccess(evt) | 55 function onSuccess(evt) |
56 { | 56 { |
57 preamble(evt); | 57 preamble(evt); |
58 evalAndLog("db = request.result"); | 58 evalAndLog("db = request.result"); |
59 shouldBe("db.version", "3"); | 59 shouldBe("db.version", "3"); |
60 finishJSTest(); | 60 finishJSTest(); |
61 } | 61 } |
62 | 62 |
63 test(); | 63 test(); |
OLD | NEW |