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(); |
-}); |