Changeset 70690 in webkit
- Timestamp:
- Oct 27, 2010 12:39:42 PM (14 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/ChangeLog
r70574 r70690 1 2010-10-27 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Fix tst_QWebFrame::popupFocus(). 6 https://bugs.webkit.org/show_bug.cgi?id=48432 7 8 - Call setFocus() before show() to work around a but in Qt. 9 - Remove the check on combo at the end since hidePopup() leads 10 indirectly to its destruction and segfault. 11 12 * tests/qwebframe/tst_qwebframe.cpp: 13 1 14 2010-10-26 Jenn Braithwaite <jennb@chromium.org> 2 15 -
trunk/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
r70558 r70690 2604 2604 "</html>"); 2605 2605 view.resize(400, 100); 2606 // Call setFocus before show to work around http://bugreports.qt.nokia.com/browse/QTBUG-14762 2607 view.setFocus(); 2606 2608 view.show(); 2607 2609 QTest::qWaitForWindowShown(&view); 2608 view.setFocus();2609 2610 QTRY_VERIFY(view.hasFocus()); 2610 2611 … … 2619 2620 // hide the popup and check if focus is on the page 2620 2621 combo->hidePopup(); 2621 QTRY_VERIFY(view.hasFocus() && !combo->view()->hasFocus()); // Focus should be back on the WebView2622 QTRY_VERIFY(view.hasFocus()); // Focus should be back on the WebView 2622 2623 } 2623 2624 #endif
Note: See TracChangeset
for help on using the changeset viewer.