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

Unified Diff: LayoutTests/fast/workers/storage/resources/interrupt-database-sync.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-sync.js
diff --git a/LayoutTests/fast/workers/storage/resources/interrupt-database-sync.js b/LayoutTests/fast/workers/storage/resources/interrupt-database-sync.js
deleted file mode 100644
index e533f08b708997e074ac573820843b6ccb6fdb94..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/workers/storage/resources/interrupt-database-sync.js
+++ /dev/null
@@ -1,11 +0,0 @@
-var db = openDatabaseSync("InterruptDatabaseSyncTest", "1", "", 1);
-db.transaction(function(tx) {
- tx.executeSql("CREATE TABLE IF NOT EXISTS Test (Foo INT)");
- var counter = 0;
- while (true) {
- // Put both statements on the same line, to make sure the exception is always reported on the same line.
- tx.executeSql("INSERT INTO Test VALUES (1)"); tx.executeSql("DELETE FROM Test WHERE Foo = 1");
- if (++counter == 100)
- postMessage("terminate");
- }
-});

Powered by Google App Engine
This is Rietveld 408576698