Changeset 68382 in webkit


Ignore:
Timestamp:
Sep 27, 2010 4:48:13 AM (14 years ago)
Author:
benjamin.poulain@nokia.com
Message:

2010-09-27 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Andreas Kling.

[Qt] tst_QWebFrame::popupFocus() randomly fail on MeeGo handset because the focus is not set on the window
https://bugs.webkit.org/show_bug.cgi?id=46617

This patch avoid the race condition by waiting for the window
to be mapped on screen before attempting any actions.

  • tests/qwebframe/tst_qwebframe.cpp:
Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r68292 r68382  
     12010-09-27  Benjamin Poulain  <benjamin.poulain@nokia.com>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt] tst_QWebFrame::popupFocus() randomly fail on MeeGo handset because the focus is not set on the window
     6        https://bugs.webkit.org/show_bug.cgi?id=46617
     7
     8        This patch avoid the race condition by waiting for the window
     9        to be mapped on screen before attempting any actions.
     10
     11        * tests/qwebframe/tst_qwebframe.cpp:
     12
    1132010-09-24  Luiz Agostini  <luiz.agostini@openbossa.org>
    214
  • trunk/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp

    r66667 r68382  
    26052605    view.resize(400, 100);
    26062606    view.show();
     2607    QTest::qWaitForWindowShown(&view);
    26072608    view.setFocus();
    26082609    QTRY_VERIFY(view.hasFocus());
Note: See TracChangeset for help on using the changeset viewer.