| 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 blocked on open connections"); | 6 description("Test that deleteDatabase is blocked on open connections"); |
| 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 21 matching lines...) Expand all Loading... |
| 34 }; | 34 }; |
| 35 request.onsuccess = function deleteDatabaseOnSuccess(evt) { | 35 request.onsuccess = function deleteDatabaseOnSuccess(evt) { |
| 36 preamble(evt); | 36 preamble(evt); |
| 37 shouldBeTrue("blockedEventFired"); | 37 shouldBeTrue("blockedEventFired"); |
| 38 finishJSTest(); | 38 finishJSTest(); |
| 39 }; | 39 }; |
| 40 }; | 40 }; |
| 41 } | 41 } |
| 42 | 42 |
| 43 test(); | 43 test(); |
| OLD | NEW |