New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 710436 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
hobby only
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

AutofillInteractiveIsolationTest.SimpleCrossSiteFill is flaky on windows.

Project Member Reported by rouslan@chromium.org, Apr 11 2017

Issue description

interactive_ui_tests failing on chromium.win/Win7 Tests (dbg)(1)

Builders failed on: 
- Win7 Tests (dbg)(1): 
  https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29





 
Status: Assigned (was: Available)
Being disabled in http://crrev.com/2810913004

Comment 2 by vabr@chromium.org, Apr 11 2017

Components: Internals>Sandbox>SiteIsolation UI>Browser>Autofill
Labels: -Sheriff-Chromium Hotlist-TechnicalDebt
The test seems to time out. The first instance I saw was in https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/58983 (log attached).
log.txt
60.7 KB View Download
Project Member

Comment 3 by bugdroid1@chromium.org, Apr 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7e0b9a9cdf69d9175d41ad5338c185daf88660ae

commit 7e0b9a9cdf69d9175d41ad5338c185daf88660ae
Author: rouslan <rouslan@chromium.org>
Date: Tue Apr 11 14:27:28 2017

Disable AutofillInteractiveIsolationTest.SimpleCrossSiteFill on Windows.

TBR=vabr@chromium.org
BUG= 710436 

Review-Url: https://codereview.chromium.org/2810913004
Cr-Commit-Position: refs/heads/master@{#463619}

[modify] https://crrev.com/7e0b9a9cdf69d9175d41ad5338c185daf88660ae/chrome/browser/autofill/autofill_interactive_uitest.cc

Project Member

Comment 4 by bugdroid1@chromium.org, Oct 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/522146e8024f81aff5a7c076f5a819aec719ed99

commit 522146e8024f81aff5a7c076f5a819aec719ed99
Author: Greg Thompson <grt@chromium.org>
Date: Thu Oct 05 00:02:06 2017

Deflake ui_controls::SendMouseMove on Windows.

On Windows, SendMouseMove must transform a point in screen coordinates
into the range (0..2^16-1) for consumption by SendInput. Windows then
converts this back to screen coordinates. This change rounds up rather
than down in the initial conversion so that Windows lands on the correct
point when it seemly truncates.

Previously, we'd see off-by-one errors from time to time. While this may
seem insignificant at first blush, it's problematic when SendMouseMove
is called to move the mouse to a point where it already resides. No
events are generated by SendInput in this case, so the hook proc will
never be called. This shouldn't be a problem since SendMouseMove detects
this case and short-circuits the request. With the ob1, however,
SendMouseMove thinks it needs to move the mouse by one point, yet the
bad math results in a call to SendInput to move the mouse to its current
position. This makes tests timeout and all of us sad.

BUG= 390564 , 639940 , 710436 , 726659 , 728488 , 764415 
R=mathp@chromium.org, sky@chromium.org

Change-Id: I1daebe8281db0a799ef7266c3c1765de65580f03
Reviewed-on: https://chromium-review.googlesource.com/686898
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Mathieu Perreault <mathp@chromium.org>
Commit-Queue: Greg Thompson <grt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506574}
[modify] https://crrev.com/522146e8024f81aff5a7c076f5a819aec719ed99/chrome/browser/autofill/autofill_interactive_uitest.cc
[add] https://crrev.com/522146e8024f81aff5a7c076f5a819aec719ed99/chrome/browser/ui/send_mouse_move_uitest_win.cc
[modify] https://crrev.com/522146e8024f81aff5a7c076f5a819aec719ed99/chrome/test/BUILD.gn
[modify] https://crrev.com/522146e8024f81aff5a7c076f5a819aec719ed99/ui/base/test/ui_controls_internal_win.cc

Comment 5 by vabr@chromium.org, Oct 6 2017

Status: Fixed (was: Assigned)
Looking at recent builds on https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29, grt@'s fix worked. Thanks, grt@!

Sign in to add a comment