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 deleteDatabase is not blocked when connections close in o
n versionchange callback"); | 6 description("Test that deleteDatabase is not blocked when connections close in o
n versionchange callback"); |
7 | 7 |
8 function test() { | 8 function test() { |
9 removeVendorPrefixes(); | 9 removeVendorPrefixes(); |
10 setDBNameFromPath(); | 10 setDBNameFromPath(); |
11 | 11 |
12 evalAndLog("blockedEventFired = false"); | 12 evalAndLog("blockedEventFired = false"); |
(...skipping 22 matching lines...) Expand all Loading... |
35 request.onsuccess = function deleteDatabaseOnSuccess(evt) { | 35 request.onsuccess = function deleteDatabaseOnSuccess(evt) { |
36 preamble(evt); | 36 preamble(evt); |
37 debug("FIXME: blocked event should not fire since connection closed.
http://webkit.org/b/71130"); | 37 debug("FIXME: blocked event should not fire since connection closed.
http://webkit.org/b/71130"); |
38 shouldBeFalse("blockedEventFired"); | 38 shouldBeFalse("blockedEventFired"); |
39 finishJSTest(); | 39 finishJSTest(); |
40 }; | 40 }; |
41 }; | 41 }; |
42 } | 42 } |
43 | 43 |
44 test(); | 44 test(); |
OLD | NEW |