Skip to content

Commit

Permalink
2008-12-03 Tor Arne Vestbø <tavestbo@trolltech.com>
Browse files Browse the repository at this point in the history
        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
  • Loading branch information
vestbo@webkit.org committed Dec 3, 2008
1 parent 677d297 commit 4bd9413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 4bd9413

Please sign in to comment.