diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-11-10 07:41:44 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-11-10 07:41:44 (GMT) |
commit | f8d994f9ede13bf79d811621ba75d39b0c487931 (patch) | |
tree | a385f8931a8e6f5c594f71599a2f0de3ea6ddec6 /tests/auto/declarative/sql | |
parent | 1deec43e5fbd3cb215f8386fd046504b7f4cac7f (diff) | |
download | Qt-f8d994f9ede13bf79d811621ba75d39b0c487931.zip Qt-f8d994f9ede13bf79d811621ba75d39b0c487931.tar.gz Qt-f8d994f9ede13bf79d811621ba75d39b0c487931.tar.bz2 |
Avoid WebKit crash.
Diffstat (limited to 'tests/auto/declarative/sql')
-rw-r--r-- | tests/auto/declarative/sql/tst_sql.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<QWebDatabase> dbs = origin.databases(); |