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

Unified Diff: LayoutTests/fast/workers/storage/resources/multiple-transactions-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-sync.js
diff --git a/LayoutTests/fast/workers/storage/resources/multiple-transactions-sync.js b/LayoutTests/fast/workers/storage/resources/multiple-transactions-sync.js
deleted file mode 100644
index 2feb3ad2c2f4fc3424cf5a2b338773ca9efc5e35..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/workers/storage/resources/multiple-transactions-sync.js
+++ /dev/null
@@ -1,32 +0,0 @@
-var complete = 0;
-
-function checkCompletion()
-{
- if (++complete == 2 && window.testRunner)
- testRunner.notifyDone();
-}
-
-function runTest()
-{
- var db = openDatabaseWithSuffix("MultipleTransactionsTest", "1.0", "Test to make sure multiple transactions can be queued at once for an HTML5 database", 32768);
-
- db.transaction(function(tx) {
- log("Transaction 1 Started");
- }, function(err) {
- log("Transaction 1 Errored - " + err);
- checkCompletion();
- }, function() {
- log("Transaction 1 Succeeded");
- checkCompletion();
- });
-
- db.transaction(function(tx) {
- log("Transaction 2 Started");
- }, function(err) {
- log("Transaction 2 Errored - " + err);
- checkCompletion();
- }, function() {
- log("Transaction 2 Succeeded");
- checkCompletion();
- });
-}

Powered by Google App Engine
This is Rietveld 408576698