• Lan Wei's avatar
    [ChromeDriver] Support triple click in Chromedriver PerformActions · 2576e02f
    Lan Wei authored
    When we are using PerformActions from ChromeDriver to simulate three
    mouse click, it only set the click count to 2, not 3, so this test fails
    third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions
    /pointer_tripleclick.py.
    
    PerformActions should keep the mouse click count and decide if we should
    increase the count or set to 1 when we have a mouse press based on the
    interval of two mouse presses and difference between the current mouse
    positions and the last one.
    
    Bug: 1119679
    Change-Id: I2b941c5d295cdd457109c8866c55e02bb2360555
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366655Reviewed-by: default avatarJohn Chen <johnchen@chromium.org>
    Commit-Queue: Lan Wei <lanwei@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#800201}
    2576e02f
window_commands.cc 97.7 KB