DevTools: Input.dispatchMouseEvent doesn't wait for the event to be dispatched to the page |
|||
Issue descriptionInput.dispatchMouseEvent sometimes responds before the the event has been dispatched to the page. This can make it difficult to work with
,
Aug 10 2017
,
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
,
Oct 25 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by caseq@chromium.org
, Jul 24 2017