| Index: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_suppressing_mouse-manual-automation.js
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_suppressing_mouse-manual-automation.js b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_suppressing_mouse-manual-automation.js
|
| index 44ed0d04226bdd18db6b09b474347052e7027f4e..750104209ebf99b6415632886d9af50c233c01d8 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_suppressing_mouse-manual-automation.js
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_suppressing_mouse-manual-automation.js
|
| @@ -1,11 +1,14 @@
|
| importAutomationScript('/pointerevents/pointerevent_common_input.js');
|
|
|
| function inject_input() {
|
| - mouseMoveIntoTarget('target0');
|
| - mouseMoveIntoTarget('target1');
|
| - mouseDragInTargets(['btnCapture', 'target1', 'target0', 'target1']);
|
| + return mouseMoveIntoTarget('target0').then(function() {
|
| + return mouseMoveIntoTarget('target1');
|
| + }).then(function() {
|
| + return mouseDragInTargets(['btnCapture', 'target1', 'target0', 'target1']);
|
| + }).then(function() {
|
| + // To handle delayed capturing.
|
| + mouseMoveIntoTarget('target0');
|
| + });
|
|
|
| - // To handle delayed capturing
|
| - mouseMoveIntoTarget('target0');
|
| }
|
|
|
|
|