From f8d994f9ede13bf79d811621ba75d39b0c487931 Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Tue, 10 Nov 2009 17:41:44 +1000 Subject: Avoid WebKit crash. --- tests/auto/declarative/sql/tst_sql.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/declarative/sql/tst_sql.cpp b/tests/auto/declarative/sql/tst_sql.cpp index 8d52eb4..e4f497c 100644 --- a/tests/auto/declarative/sql/tst_sql.cpp +++ b/tests/auto/declarative/sql/tst_sql.cpp @@ -176,6 +176,7 @@ void tst_sql::validateAgainstWebkit() webpage.mainFrame()->evaluateJavaScript(js); QTest::qWait(200); // WebKit db access is asynchronous QTRY_COMPARE(webpage.mainFrame()->evaluateJavaScript("test()").toString(),result); + QTest::qWait(200); // WebKit crashes if you quit it too fast QWebSecurityOrigin origin = webpage.mainFrame()->securityOrigin(); QList dbs = origin.databases(); -- cgit v0.12