Changeset 66241 in webkit
- Timestamp:
- Aug 27, 2010 11:40:39 AM (14 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/ChangeLog
r66219 r66241 1 2010-08-27 Benjamin Poulain <benjamin.poulain@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] tst_QWebFrame::inputFieldFocus() fails on MeeGo Handset with QtWebKit 2.1 6 https://bugs.webkit.org/show_bug.cgi?id=44703 7 8 Make the test more robust to changes in the execution environment. 9 The position where the mouse events are sent is now computed from the element geometry, 10 this make the test less dependent on the fonts. 11 12 The test now also make sure the window manager mapped the window on screen 13 before attempting to send the events. 14 15 * tests/qwebframe/tst_qwebframe.cpp: 16 1 17 2010-08-27 Benjamin Poulain <benjamin.poulain@nokia.com> 2 18 -
trunk/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
r66219 r66241 2698 2698 view.resize(400, 100); 2699 2699 view.show(); 2700 QTest::qWaitForWindowShown(&view); 2700 2701 view.setFocus(); 2701 2702 QTRY_VERIFY(view.hasFocus()); … … 2705 2706 2706 2707 // focus the lineedit and check if it blinks 2707 QTest::mouseClick(&view, Qt::LeftButton, 0, QPoint(25, 25)); 2708 const QWebElement inputElement = view.page()->mainFrame()->documentElement().findFirst(QLatin1String("input[type=text]")); 2709 QTest::mouseClick(&view, Qt::LeftButton, 0, inputElement.geometry().center()); 2708 2710 m_inputFieldsTestView = &view; 2709 2711 view.installEventFilter( this );
Note: See TracChangeset
for help on using the changeset viewer.