| Index: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual-automation.js
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_mouse-manual-automation.js b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual-automation.js
|
| similarity index 51%
|
| copy from third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_mouse-manual-automation.js
|
| copy to third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual-automation.js
|
| index efdfa88eaf8ac1fb034cf8ce0a65094cf81289ad..70f69c89f673a774d09fdd6d67ec920f60cd2edf 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_mouse-manual-automation.js
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual-automation.js
|
| @@ -2,11 +2,12 @@ importAutomationScript('/pointerevents/pointerevent_common_input.js');
|
|
|
| function inject_input() {
|
| return mouseMoveIntoTarget('#target0').then(function() {
|
| - return mouseMoveIntoTarget('#target1');
|
| + return mouseButtonPress(0);
|
| }).then(function() {
|
| - return mouseDragInTargets(['#btnCapture', '#target1', '#target0']);
|
| + return mouseButtonPress(1);
|
| }).then(function() {
|
| - // To handle delayed capturing.
|
| - return mouseMoveIntoTarget('#target0');
|
| + return mouseButtonRelease(1);
|
| + }).then(function() {
|
| + return mouseButtonRelease(0);
|
| });
|
| }
|
|
|