Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js

Issue 2354273002: Remove window.moveTo calls from picker-common.js (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698