[webkit-qt] Does QtWebKit API tests need attention?

Robert Hogan lists at roberthogan.net
Wed Jun 1 14:43:10 PDT 2011


I think this tallies with my findings, I've compiled trunk against Qt master 
circa late April:

FAIL! : tst_QWebPage::testStopScheduledPageRefresh() 
'::waitForSignal(&page1, SIGNAL(loadFinished(bool)))' returned FALSE. () 
Loc: 
[/home/robert/Development/WebKit/Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp(2718)] 
FAIL! : tst_QWebElement::style() Compared values are not the same Actual 
(p.styleProperty("color", QWebElement::CascadedStyle)): red Expected 
(QLatin1String("yellow")): yellow Loc: 
[/home/robert/Development/WebKit/Source/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp(478)] 
FAIL! : tst_QWebElement::render() 'image1 == testImage' returned FALSE. () 
Loc: 
[/home/robert/Development/WebKit/Source/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp(988)] 
FAIL! : tst_QWebFrame::setHtmlWithResource() Compared values are not the 
same Actual (frame-
>evaluateJavaScript("document.images[0].width").toInt()): 0 Expected (128): 
128 Loc: 
[/home/robert/Development/WebKit/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp(2506)] 

All seem related to the new QFileNetworkReply fast path in Qt for loading 
qrc resources. From your results these must be fixed in more recent Qt 
builds.


On Wednesday 01 June 2011 22:21:31 Ademar Reis wrote:
> 2011/6/1 Osztrogonac Csaba <oszi at inf.u-szeged.hu>:
> > Hi,
> > 
> > It doesn't seems to be so important for Nokia, because on
> > QtWebKit 2.2 branch there are many failing API tests too:
> > - QtWebKit2.2-branch x86-32 Linux Release Qt 4.7.x: 5 failing tests
> > - QtWebKit2.2-branch x86-32 Linux Release Qt 4.8.x: 7 failing tests
> > - QtWebKit2.2-branch SnowLeopard Intel Release: 12 failing tests
> > 
> > They aren't new regressions, they are at least a month old bugs.
> > And we don't mentioned the trunk, 64 bit platform, Symbian, ...
> 
> I cherry-picked some API-test commits from trunk and now we're a bit
> better:
> 
> - QtWebKit2.2-branch x86-32 Linux Release Qt 4.7.x: 210 passed, 1 failed
> - QtWebKit2.2-branch x86-32 Linux Release Qt 4.8.x: 209 passed, 2 failed
> - QtWebKit2.2-branch SnowLeopard Intel Release: 207 passed, 7 failed
> 
> I'll try to investigate these results tomorrow and sync the bugs if
> necessary:
> 
> QtWebKit2.2-branch x86-32 Linux Release Qt 4.7.x:
> FAIL!  : tst_QWebFrame::inputFieldFocus() 'm_inputFieldTestPaintCount
> 
> >= 3' returned FALSE. (The input field should have a blinking caret)
> 
>    Loc:
> [/home/webkitbuildbot/slaves/qtwebkit2.2-qt47/buildslave/qtwebkit2.2-li
> nux-32-release-qt4.7/build/Source/WebKit/qt/tests/qwebframe/tst_qwebfram
> e.cpp(2713)]
> 
> QtWebKit2.2-branch x86-32 Linux Release Qt 4.8.x:
> FAIL!  : tst_QWebView::renderingAfterMaxAndBack() Compared values are
> not the same
>    Loc:
> [/home/webkitbuildbot/slaves/qtwebkit2.2-qt48/buildslave/qtwebkit2.2-li
> nux-32-release-qt4.8/build/Source/WebKit/qt/tests/qwebview/tst_qwebview.
> cpp(483)] FAIL!  : tst_QWebView::setPalette(activeBG) Compared pointers
> are not the same Actual (QApplication::activeWindow()): (nil)
>    Expected (activeView): 0xffbe5f78
>    Loc:
> [/home/webkitbuildbot/slaves/qtwebkit2.2-qt48/buildslave/qtwebkit2.2-li
> nux-32-release-qt4.8/build/Source/WebKit/qt/tests/qwebview/tst_qwebview.
> cpp(397)]
> 
> QtWebKit2.2-branch SnowLeopard Intel Release:
> FAIL!  : tst_QGraphicsWebView::widgetsRenderingThroughCache() Compared
> values are not the same
>    Loc:
> [/buildbot/snowleopard-qtwebkit2.2-release/snowleopard-qt-intel-release
> -2.2/build/Source/WebKit/qt/tests/qgraphicswebview/tst_qgraphicswebview.
> cpp(198)] FAIL!  : tst_QWebFrame::popupFocus() 'view.hasFocus()'
> returned FALSE. () Loc:
> [/buildbot/snowleopard-qtwebkit2.2-release/snowleopard-qt-intel-release
> -2.2/build/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp(2674)]
> FAIL!  : tst_QWebFrame::inputFieldFocus() 'view.hasFocus()' returned
> FALSE. () Loc:
> [/buildbot/snowleopard-qtwebkit2.2-release/snowleopard-qt-intel-release
> -2.2/build/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp(2699)]
> FAIL!  : tst_QWebView::setPalette(activeBG) Compared pointers are not
> the same Actual (QApplication::activeWindow()): 0x0
>    Expected (activeView): 0x7fff5fbfe5d0
>    Loc:
> [/buildbot/snowleopard-qtwebkit2.2-release/snowleopard-qt-intel-release
> -2.2/build/Source/WebKit/qt/tests/qwebview/tst_qwebview.cpp(397)] FAIL! 
> : tst_QWebView::setPalette(activeFG) Compared pointers are not the same
> Actual (QApplication::activeWindow()): 0x0
>    Expected (activeView): 0x7fff5fbfe5d0
>    Loc:
> [/buildbot/snowleopard-qtwebkit2.2-release/snowleopard-qt-intel-release
> -2.2/build/Source/WebKit/qt/tests/qwebview/tst_qwebview.cpp(397)] FAIL! 
> : tst_QWebView::setPalette(inactiveBG) Compared pointers are not the
> same Actual (QApplication::activeWindow()): 0x0
>    Expected (activeView): 0x7fff5fbfe600
>    Loc:
> [/buildbot/snowleopard-qtwebkit2.2-release/snowleopard-qt-intel-release
> -2.2/build/Source/WebKit/qt/tests/qwebview/tst_qwebview.cpp(397)] FAIL! 
> : tst_QWebView::setPalette(inactiveFG) Compared pointers are not the
> same Actual (QApplication::activeWindow()): 0x0
>    Expected (activeView): 0x7fff5fbfe600
>    Loc:
> [/buildbot/snowleopard-qtwebkit2.2-release/snowleopard-qt-intel-release
> -2.2/build/Source/WebKit/qt/tests/qwebview/tst_qwebview.cpp(397)]
> 
> Thanks,
>   - Ademar


More information about the webkit-qt mailing list