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

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

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/resources/interrupt-database.js
diff --git a/LayoutTests/fast/workers/storage/resources/interrupt-database.js b/LayoutTests/fast/workers/storage/resources/interrupt-database.js
deleted file mode 100644
index 3f71a452f972437c3fc96db19cad59c826bf4f3b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/workers/storage/resources/interrupt-database.js
+++ /dev/null
@@ -1,19 +0,0 @@
-var counter = 0;
-function runTransaction()
-{
- db.transaction(function(tx) {
- tx.executeSql("INSERT INTO Test VALUES (1)");
- tx.executeSql("DELETE FROM Test WHERE Foo = 1");
- if (++counter == 100)
- postMessage("terminate");
- }, null, runTransaction);
-}
-
-var db = openDatabase("InterruptDatabaseTest", "1", "", 1);
-db.transaction(function(tx) {
- tx.executeSql("CREATE TABLE IF NOT EXISTS Test (Foo INT)");
-}, function(error) {
- postMessage("Error: " + error.message);
-}, function() {
- runTransaction();
-});

Powered by Google App Engine
This is Rietveld 408576698