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

Unified Diff: LayoutTests/fast/workers/storage/resources/multiple-transactions-on-different-handles-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/multiple-transactions-on-different-handles-sync.js
diff --git a/LayoutTests/fast/workers/storage/resources/multiple-transactions-on-different-handles-sync.js b/LayoutTests/fast/workers/storage/resources/multiple-transactions-on-different-handles-sync.js
deleted file mode 100644
index f08e449f83be51f539534c312877c83ee7f60961..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/workers/storage/resources/multiple-transactions-on-different-handles-sync.js
+++ /dev/null
@@ -1,32 +0,0 @@
-function runTransaction(db)
-{
- db.transaction(function(tx) {
- // Execute a read-only statement
- tx.executeSql("SELECT COUNT(*) FROM Test;");
-
- // Execute a write statement to make sure SQLite tries to acquire an exclusive lock on the DB file
- tx.executeSql("INSERT INTO Test VALUES (?);", [1]);
- });
-}
-
-var db1 = openDatabaseSync("MultipleTransactionsOnDifferentHandlesTest", "1.0",
- "Test transactions on different handles to the same DB.", 1);
-db1.transaction(function(tx) {
- tx.executeSql("CREATE TABLE IF NOT EXISTS Test (Foo int);");
-});
-
-var db2 = openDatabaseSync("MultipleTransactionsOnDifferentHandlesTest", "1.0",
- "Test transactions on different handles to the same DB.", 1);
-if (db1 == db2)
- postMessage("FAIL: db1 == db2");
-else {
- try {
- runTransaction(db1);
- runTransaction(db2);
- postMessage("PASS");
- } catch (err) {
- postMessage("FAIL: " + err);
- }
-}
-
-postMessage("done");

Powered by Google App Engine
This is Rietveld 408576698