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
+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.
layoutTestController.dumpAsText();
}
-function startTest() {
+function startTest()
+{
setTimeout("document.getElementsByTagName('iframe')[0].src = 'about:blank'", 100);
if (window.layoutTestController)
setTimeout("layoutTestController.notifyDone()", 500);
layoutTestController.notifyDone();
}
-function runTest() {
+function runTest()
+{
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
layoutTestController.notifyDone();
}
-function runTest() {
+function runTest()
+{
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
});
}
-function runTest() {
+function runTest()
+{
if (window.layoutTestController) {
layoutTestController.clearAllDatabases();
layoutTestController.dumpDatabaseCallbacks();
layoutTestController.notifyDone();
}
-function errorFunction(tx, error)
+function errorFunction(error)
{
log("Test failed - " + error.message);
finishTest();
finishTest();
}
-function runTest() {
+function runTest()
+{
if (window.layoutTestController) {
layoutTestController.clearAllDatabases();
layoutTestController.dumpAsText();
}
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";