Remove window.moveTo calls from picker-common.js
These moveTo calls appear to be unneeded and they don't work on the main window anyway. Due to the way that RenderWidget caches move requests, this causes us to return incorrect values for the windowRect until the browser resets the rect. This appears to work correctly today due to a bug in how the pending_window_rect gets cached in RenderWidget but makes it difficult to fix that bug. See related CL: https://codereview.chromium.org/2333353002/ Note: This change affects only LayoutTests. BUG=638671 Review-Url: https://codereview.chromium.org/2354273002 Cr-Commit-Position: refs/heads/master@{#420557}
Showing
Please register or sign in to comment