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

Issue 2354273002: Remove window.moveTo calls from picker-common.js (Closed)

Created:
4 years, 3 months ago by bokan
Modified:
4 years, 3 months ago
Reviewers:
keishi
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/f8386d1d8f1268ef794fafef76d7dd5b372367a9 Cr-Commit-Position: refs/heads/master@{#420557}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removed Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -9 lines) Patch
M third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js View 1 3 chunks +1 line, -9 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
bokan
keishi@, I believe these are unneeded as all layout tests still pass. When fixing a ...
4 years, 3 months ago (2016-09-21 17:56:20 UTC) #7
keishi
LGTM https://codereview.chromium.org/2354273002/diff/1/third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js File third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js (right): https://codereview.chromium.org/2354273002/diff/1/third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js#newcode69 third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js:69: // We need to move the window to ...
4 years, 3 months ago (2016-09-22 15:09:00 UTC) #8
bokan
https://codereview.chromium.org/2354273002/diff/1/third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js File third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js (right): https://codereview.chromium.org/2354273002/diff/1/third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js#newcode69 third_party/WebKit/LayoutTests/fast/forms/resources/picker-common.js:69: // We need to move the window to the ...
4 years, 3 months ago (2016-09-23 00:53:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2354273002/20001
4 years, 3 months ago (2016-09-23 00:54:22 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-23 03:04:12 UTC) #14
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 03:06:23 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f8386d1d8f1268ef794fafef76d7dd5b372367a9
Cr-Commit-Position: refs/heads/master@{#420557}

Powered by Google App Engine
This is Rietveld 408576698