Bug 103875

Summary: [Qt][WK2] New resize tests fail
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: New BugsAssignee: Michael Brüning <michael.bruning>
Status: RESOLVED FIXED    
Severity: Normal CC: abecsi, allan.jensen, cmarcelo, jturcotte, menard, michael.bruning, webkit.review.bot
Priority: P2    
Version: 420+   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 70236, 103521    
Attachments:
Description Flags
Patch jturcotte: review+

Description Csaba Osztrogonác 2012-12-03 03:45:04 PST
New tests introduced in http://trac.webkit.org/changeset/136129, but all of them fail:

PASS   : qmltests::Resize::initTestCase()
FAIL!  : qmltests::Resize::test_basic() Uncaught exception: viewportSpy is not defined
   Loc: [(0)]
FAIL!  : qmltests::Resize::test_resizeAfterNeutralZoom() Uncaught exception: viewportSpy is not defined
   Loc: [(0)]
FAIL!  : qmltests::Resize::test_resizeZoomedIn() Uncaught exception: viewportSpy is not defined
   Loc: [(0)]
FAIL!  : qmltests::Resize::test_resizeZoomedIn() 'wait for signal contentsScaleCommitted' returned FALSE. ()
   Loc: [/home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_resize.qml(79)]
PASS   : qmltests::Resize::cleanupTestCase()
Comment 1 Michael Brüning 2012-12-03 03:59:12 PST
Seems as if the viewport spy has not been declared. Fixing.
Comment 2 Michael Brüning 2012-12-03 05:33:14 PST
Created attachment 177237 [details]
Patch
Comment 3 Michael Brüning 2012-12-03 06:28:06 PST
Committed r136391: <http://trac.webkit.org/changeset/136391>