Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: LayoutTests/fast/workers/storage/interrupt-database.html

Issue 561093003: Remove worker support of Web SQL Database. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/workers/storage/interrupt-database.html
diff --git a/LayoutTests/fast/workers/storage/interrupt-database.html b/LayoutTests/fast/workers/storage/interrupt-database.html
deleted file mode 100644
index a0bb6b70e134a96f584783fb3756f23210a3c960..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/workers/storage/interrupt-database.html
+++ /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.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 async database operations are immediately interrupted when the worker needs to terminate.
-<pre id="console">
-</pre>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698