2009-02-04 Dimitri Glazkov <dglazkov@chromium.org>
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Feb 2009 22:52:49 +0000 (22:52 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Feb 2009 22:52:49 +0000 (22:52 +0000)
        Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=23655
        Clean up storage layout tests a bit.

        * storage/close-during-stress-test.html: Moved brace to new line.
        * storage/empty-statement.html: Moved brace to new line.
        * storage/execute-sql-args.html: Moved brace to new line.
        * storage/quota-tracking.html: Moved brace to new line.
        * storage/success-callback.html: Moved brace to new line, removed erroneous callback argument.
        * storage/transaction-callback-exception-crash.html: Added.
        * storage/transaction-callback-exception-crash.txt: Renamed from LayoutTests/storage/transaction_callback_exception_crash-expected.txt.
        * storage/transaction_callback_exception_crash.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40632 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/storage/close-during-stress-test.html
LayoutTests/storage/empty-statement.html
LayoutTests/storage/execute-sql-args.html
LayoutTests/storage/quota-tracking.html
LayoutTests/storage/success-callback.html
LayoutTests/storage/transaction-callback-exception-crash.html [moved from LayoutTests/storage/transaction_callback_exception_crash.html with 94% similarity]
LayoutTests/storage/transaction-callback-exception-crash.txt [moved from LayoutTests/storage/transaction_callback_exception_crash-expected.txt with 100% similarity]

index 53cc0ebea47256c401bcf96e6616e847ae7396c6..4abf8a458fee2e4719615006d7c32a27730d8050 100644 (file)
@@ -1,3 +1,19 @@
+2009-02-04  Dimitri Glazkov  <dglazkov@chromium.org>
+
+        Reviewed by Sam Weinig.
+
+        https://bugs.webkit.org/show_bug.cgi?id=23655
+        Clean up storage layout tests a bit.
+
+        * storage/close-during-stress-test.html: Moved brace to new line.
+        * storage/empty-statement.html: Moved brace to new line.
+        * storage/execute-sql-args.html: Moved brace to new line.
+        * storage/quota-tracking.html: Moved brace to new line.
+        * storage/success-callback.html: Moved brace to new line, removed erroneous callback argument.
+        * storage/transaction-callback-exception-crash.html: Added.
+        * storage/transaction-callback-exception-crash.txt: Renamed from LayoutTests/storage/transaction_callback_exception_crash-expected.txt.
+        * storage/transaction_callback_exception_crash.html: Removed.
+
 2009-02-04  Jeremy Moskovich  <jeremy@chromium.org>
 
         Reviewed by Dave Hyatt.
index ff105c40989fadea3302217837b161fe99de1519..2183e2f28c1d7e2c88dc38b54a8d7dcb15535e09 100644 (file)
@@ -9,7 +9,8 @@ if (window.layoutTestController) {
     layoutTestController.dumpAsText();
 }
 
-function startTest() {
+function startTest()
+{
     setTimeout("document.getElementsByTagName('iframe')[0].src = 'about:blank'", 100);
     if (window.layoutTestController)
         setTimeout("layoutTestController.notifyDone()", 500);
index ad77c3daf17882a5e4ceab36d6fd7f5e93d59c6b..36ec5b8cac5e4a58260876bb539fb8bab604cf49 100644 (file)
@@ -16,7 +16,8 @@ function executeEmptyStatement(transaction)
         layoutTestController.notifyDone();
 }
 
-function runTest() {
+function runTest()
+{
     if (window.layoutTestController) {
         layoutTestController.dumpAsText();
         layoutTestController.waitUntilDone();
index f948278abaac2c0bf0933fd2b843a2c2925ddb68..8b501c6160109d047b583dcfddd8c95a84f7b0d8 100644 (file)
@@ -88,7 +88,8 @@ function runTransactionTests(transaction)
         layoutTestController.notifyDone();
 }
 
-function runTest() {
+function runTest()
+{
     if (window.layoutTestController) {
         layoutTestController.dumpAsText();
         layoutTestController.waitUntilDone();
index 730ccb2b46cba22671a29848d1526e85f567bf0c..baf4e29973ccc223aa75f8b15028c6b6e83c660a 100644 (file)
@@ -53,7 +53,8 @@ function testDatabase(db)
     });
 }
 
-function runTest() {
+function runTest()
+{
     if (window.layoutTestController) {
         layoutTestController.clearAllDatabases();
         layoutTestController.dumpDatabaseCallbacks();
index 2ac1898bea452693b573c2e5ae6c0ae627cd7287..c237aba82e30972481aabb7050d5a2146e25c3fa 100644 (file)
@@ -14,7 +14,7 @@ function finishTest()
         layoutTestController.notifyDone();
 }
 
-function errorFunction(tx, error)
+function errorFunction(error)
 {
     log("Test failed - " + error.message);
     finishTest();
@@ -29,7 +29,8 @@ function successFunction(message)
         finishTest();
 }
 
-function runTest() {
+function runTest()
+{
     if (window.layoutTestController) {
         layoutTestController.clearAllDatabases();
         layoutTestController.dumpAsText();
similarity index 94%
rename from LayoutTests/storage/transaction_callback_exception_crash.html
rename to LayoutTests/storage/transaction-callback-exception-crash.html
index ae66bec1b29c9407597a766f29cf514210985112..4bcc732bb8f2b53ecb4481a79975e2ccf71ccdc3 100644 (file)
@@ -7,7 +7,7 @@ if (window.layoutTestController) {
 }
 
 var db = openDatabase("15976Test", "1.0", "Test for http://bugs.webkit.org/show_bug.cgi?id=15976", 1);
-db.transaction(function(tx) { 
+db.transaction(function(tx) {
    if (window.layoutTestController)
        window.setTimeout(function() { layoutTestController.notifyDone() }, 0);
    throw "TransactionCallbackError";