New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 747647 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: Input.dispatchMouseEvent doesn't wait for the event to be dispatched to the page

Project Member Reported by einbinder@chromium.org, Jul 22 2017

Issue description

Input.dispatchMouseEvent sometimes responds before the the event has been dispatched to the page. This can make it difficult to work with
 

Comment 1 by caseq@chromium.org, Jul 24 2017

Owner: dgozman@chromium.org
Owner: einbinder@chromium.org
Project Member

Comment 3 by bugdroid1@chromium.org, Aug 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/62cc5cee417fefc940f1c97842c5c4ce1183947a

commit 62cc5cee417fefc940f1c97842c5c4ce1183947a
Author: Joel Einbinder <einbinder@chromium.org>
Date: Thu Aug 10 23:22:15 2017

DevTools: Wait for ack when dispatching mousePressed and mouseReleased

The protocol command Input.dispatchMouseEvent will now wait for
mousedown and mouseup events to be dispatched into the page JavaScript.

Bug:  747647 
Change-Id: Icea417e1ead2fbc7d14f950cc8d731baab88261d
Reviewed-on: https://chromium-review.googlesource.com/609523
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#493596}
[modify] https://crrev.com/62cc5cee417fefc940f1c97842c5c4ce1183947a/content/browser/devtools/protocol/input_handler.cc
[add] https://crrev.com/62cc5cee417fefc940f1c97842c5c4ce1183947a/third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchMouseEvent-ack-expected.txt
[add] https://crrev.com/62cc5cee417fefc940f1c97842c5c4ce1183947a/third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchMouseEvent-ack.js

Status: Fixed (was: Assigned)

Sign in to add a comment