From 4bd94139d4f5a38e997264c54d9db6d1a9ca99ea Mon Sep 17 00:00:00 2001 From: "vestbo@webkit.org" Date: Wed, 3 Dec 2008 10:50:49 +0000 Subject: [PATCH] =?UTF-8?q?2008-12-03=20Tor=20Arne=20Vestb=C3=B8=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rubber-stamped by Simon Hausmann. Fix QWebFrame auto-test by giving it a little more time to load the image git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38937 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- WebKit/qt/tests/qwebframe/tst_qwebframe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp b/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp index 08276ae302..3e4dd733d4 100644 --- a/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp +++ b/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp @@ -2048,7 +2048,7 @@ void tst_QWebFrame::setHtmlWithResource() // in few seconds, the image should be completey loaded QSignalSpy spy(&page, SIGNAL(loadFinished(bool))); frame->setHtml(html); - QTest::qWait(5); + QTest::qWait(200); QCOMPARE(spy.count(), 1); QCOMPARE(frame->evaluateJavaScript("document.images.length").toInt(), 1);