Changeset 109169 in webkit


Ignore:
Timestamp:
Feb 28, 2012 4:37:05 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

All mouse events after a right click are ignored when they came from WebkitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=77350

Patch by Hugo Parente Lima <Hugo Parente Lima> on 2012-02-28
Reviewed by Chang Shu.

Source/WebKit2:

Never ignore mouse events when using sync events, even if the context menu is being
show but the Ui did replied the ShowContextMenu event with a ContextMenuHidden.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::mouseEventSyncForTesting):

LayoutTests:

Unskip fast/events/mouse-click-events.html.

  • platform/qt-5.0-wk2/Skipped:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r109167 r109169  
     12012-02-28  Hugo Parente Lima  <hugo.lima@openbossa.org>
     2
     3        All mouse events after a right click are ignored when they came from WebkitTestRunner
     4        https://bugs.webkit.org/show_bug.cgi?id=77350
     5
     6        Reviewed by Chang Shu.
     7
     8        Unskip fast/events/mouse-click-events.html.
     9
     10        * platform/qt-5.0-wk2/Skipped:
     11
    1122012-02-28  Rafael Brandao  <rafael.lobo@openbossa.org>
    213
  • trunk/LayoutTests/platform/qt-5.0-wk2/Skipped

    r109167 r109169  
    5555fast/events/continuous-platform-wheelevent-in-scrolling-div.html
    5656fast/events/fire-mousedown-while-pressing-mouse-button.html
    57 fast/events/mouse-click-events.html
    5857fast/events/mouseup-from-button2.html
    5958fast/events/open-window-from-another-frame.html
  • trunk/Source/WebKit2/ChangeLog

    r109159 r109169  
     12012-02-28  Hugo Parente Lima  <hugo.lima@openbossa.org>
     2
     3        All mouse events after a right click are ignored when they came from WebkitTestRunner
     4        https://bugs.webkit.org/show_bug.cgi?id=77350
     5
     6        Reviewed by Chang Shu.
     7
     8        Never ignore mouse events when using sync events, even if the context menu is being
     9        show but the Ui did replied the ShowContextMenu event with a ContextMenuHidden.
     10
     11        * WebProcess/WebPage/WebPage.cpp:
     12        (WebKit::WebPage::mouseEventSyncForTesting):
     13
    1142012-02-28  Alexey Proskuryakov  <ap@apple.com>
    215
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp

    r109055 r109169  
    13001300void WebPage::mouseEventSyncForTesting(const WebMouseEvent& mouseEvent, bool& handled)
    13011301{
    1302     // Don't try to handle any pending mouse events if a context menu is showing.
    1303     if (m_isShowingContextMenu) {
    1304         handled = true;
    1305         return;
    1306     }
    1307 
    13081302    handled = m_pageOverlay && m_pageOverlay->mouseEvent(mouseEvent);
    13091303
Note: See TracChangeset for help on using the changeset viewer.