Index: LayoutTests/fast/workers/storage/interrupt-database-sync.html-disabled |
diff --git a/LayoutTests/fast/workers/storage/interrupt-database-sync.html-disabled b/LayoutTests/fast/workers/storage/interrupt-database-sync.html-disabled |
deleted file mode 100644 |
index df6c0f55b03fa25f01149a506ef66c16474b4f67..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/workers/storage/interrupt-database-sync.html-disabled |
+++ /dev/null |
@@ -1,48 +0,0 @@ |
-<html> |
-<head> |
-<script src="../resources/worker-util.js"></script> |
-<script> |
-var worker; |
- |
-function log(message) |
-{ |
- document.getElementById("console").innerHTML += message + "<br>"; |
-} |
- |
-function finishTest() |
-{ |
- log("PASS: database operations interrupted."); |
- if (window.testRunner) |
- testRunner.notifyDone(); |
-} |
- |
-function terminateWorker() |
-{ |
- worker.terminate(); |
- waitUntilWorkerThreadsExit(finishTest) |
-} |
- |
-function runTest() |
-{ |
- if (window.testRunner) { |
- testRunner.dumpAsText(); |
- testRunner.waitUntilDone(); |
- } |
- |
- worker = new Worker('resources/interrupt-database-sync.js'); |
- worker.onmessage = function(event) { |
- if (event.data == "terminate") |
- terminateWorker(); |
- else |
- log(event.data); |
- }; |
-} |
-</script> |
-</head> |
- |
-<body onload="runTest()"> |
-This test makes sure that all sync database operations are immediately interrupted when the worker needs to terminate. |
-<pre id="console"> |
-</pre> |
-</body> |
-</html> |