Changeset 153084 in webkit


Ignore:
Timestamp:
Jul 24, 2013, 7:53:31 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] [WK2] Handle wheel event with delta zero
https://bugs.webkit.org/show_bug.cgi?id=118973

Patch by Anton Obzhirov <Anton Obzhirov> on 2013-07-24
Reviewed by Gustavo Noronha Silva.

Added handling of zero mouse scroll deltas in EventSenderProxy similar
to WK1 and Qt/EFL ports.

fast/events/platform-wheelevent-with-delta-zero-crash.html is no longer
failing on WK2.

  • WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:

(WTR::EventSenderProxy::mouseScrollBy):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r153072 r153084  
     12013-07-24  Anton Obzhirov  <a.obzhirov@samsung.com>
     2
     3        [GTK] [WK2] Handle wheel event with delta zero
     4        https://bugs.webkit.org/show_bug.cgi?id=118973
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Added handling of zero mouse scroll deltas in EventSenderProxy similar
     9        to WK1 and Qt/EFL ports.
     10
     11        fast/events/platform-wheelevent-with-delta-zero-crash.html is no longer
     12        failing on WK2.
     13
     14        * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
     15        (WTR::EventSenderProxy::mouseScrollBy):
     16
    1172013-07-23  Andreas Kling  <akling@apple.com>
    218
  • trunk/Tools/WebKitTestRunner/gtk/EventSenderProxyGtk.cpp

    r152530 r153084  
    378378void EventSenderProxy::mouseScrollBy(int horizontal, int vertical)
    379379{
     380    // Copy behaviour of Qt and EFL - just return in case of (0,0) mouse scroll
     381    if (!horizontal && !vertical)
     382        return;
     383
    380384    GdkEvent* event = gdk_event_new(GDK_SCROLL);
    381385    event->scroll.x = m_position.x;
Note: See TracChangeset for help on using the changeset viewer.