Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js |
| diff --git a/third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js b/third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js |
| index 5f87bff96bff902f36f6ed90fe940fe78d05f356..8553c278516ea6d5ed9161f4476035ae22170ddd 100644 |
| --- a/third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js |
| +++ b/third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js |
| @@ -34,7 +34,6 @@ function rootWindow() { |
| // - INPUT color with DATALIST |
| // - INPUT date/datetime-local/month/week |
| function openPicker(element, callback, errorCallback) { |
| - rootWindow().moveTo(window.screenX, window.screenY); |
| element.offsetTop; // Force to lay out |
| element.focus(); |
| if (element.tagName === "SELECT") { |
| @@ -54,7 +53,6 @@ function openPicker(element, callback, errorCallback) { |
| } |
| function clickToOpenPicker(x, y, callback, errorCallback) { |
| - rootWindow().moveTo(window.screenX, window.screenY); |
| eventSender.mouseMoveTo(x, y); |
| eventSender.mouseDown(); |
| eventSender.mouseUp(); |
| @@ -71,7 +69,6 @@ function setPopupOpenCallback(callback) { |
| // We need to move the window to the top left of available space |
|
keishi
2016/09/22 15:08:59
nit: This comment and this function should also be
bokan
2016/09/23 00:53:54
Done.
|
| // because the window will move back to (0, 0) when the |
| // ShellViewMsg_SetTestConfiguration IPC arrives. |
| - rootWindow().moveTo(window.screenX, window.screenY); |
| callback(); |
| }).bind(this, callback); |
| try { |