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

Issue 149743006: Fix crash of OmniboxViewViewsTest.SelectAllOnClick on Linux Aura (Closed)

Created:
6 years, 10 months ago by pkotwicz
Modified:
6 years, 10 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, sadrul, ben+aura_chromium.org, tfarina, kalyank
Visibility:
Public.

Description

Fix crash of OmniboxViewViewsTest.SelectAllOnClick on Linux Aura XGrabPointer() generates EnterNotify/LeaveNotify events with the mouse cursor's current position which affects: - aura::Env::last_mouse_location() - The position of mouse events sent via ui_controls::SendMouseEventsNotifyWhenDone() This CL moves the mouse cursor such that the EnterNotify/LeaveNotify events have the intended location (as opposed to the position of the mouse cursor before the test began). BUG=163931 TEST=OmniboxViewViewsTest test suite passes Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252301

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -28 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/test/base/view_event_test_base.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M ui/aura/test/ui_controls_factory_aurax11.cc View 1 2 3 1 chunk +20 lines, -11 lines 0 comments Download
M ui/views/test/ui_controls_factory_desktop_aurax11.cc View 1 2 3 1 chunk +27 lines, -14 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
pkotwicz
Sadrul, PTAL
6 years, 10 months ago (2014-02-11 19:04:00 UTC) #1
sadrul
https://codereview.chromium.org/149743006/diff/70001/ui/aura/root_window.cc File ui/aura/root_window.cc (right): https://codereview.chromium.org/149743006/diff/70001/ui/aura/root_window.cc#newcode719 ui/aura/root_window.cc:719: SetLastMouseLocation(window(), point); This is a good fix. Mind having ...
6 years, 10 months ago (2014-02-11 19:09:36 UTC) #2
pkotwicz
Sadrul, can you please take another look?
6 years, 10 months ago (2014-02-11 22:57:30 UTC) #3
pkotwicz
Ping?
6 years, 10 months ago (2014-02-12 21:57:50 UTC) #4
sadrul
Looks reasonable. But the test failures on chromeos look related?
6 years, 10 months ago (2014-02-13 04:40:28 UTC) #5
pkotwicz
Sadrul, can you please take another look? Yes those failures were related. They are now ...
6 years, 10 months ago (2014-02-14 01:08:08 UTC) #6
pkotwicz
Ping?
6 years, 10 months ago (2014-02-14 18:57:30 UTC) #7
sadrul
A few nits. Otherwise, lgtm https://chromiumcodereview.appspot.com/149743006/diff/330001/chrome/test/base/view_event_test_base.cc File chrome/test/base/view_event_test_base.cc (right): https://chromiumcodereview.appspot.com/149743006/diff/330001/chrome/test/base/view_event_test_base.cc#newcode131 chrome/test/base/view_event_test_base.cc:131: context->GetDispatcher()->host()->Show(); This change doesn't ...
6 years, 10 months ago (2014-02-14 19:18:10 UTC) #8
pkotwicz
https://chromiumcodereview.appspot.com/149743006/diff/330001/chrome/test/base/view_event_test_base.cc File chrome/test/base/view_event_test_base.cc (right): https://chromiumcodereview.appspot.com/149743006/diff/330001/chrome/test/base/view_event_test_base.cc#newcode131 chrome/test/base/view_event_test_base.cc:131: context->GetDispatcher()->host()->Show(); I am trying to keep ui_controls_factory_aurax11.cc and ui_controls_factory_desktop_aurax11.cc ...
6 years, 10 months ago (2014-02-14 19:57:18 UTC) #9
pkotwicz
Scott, can you please take a look at the change in chrome/test/base/view_event_test_base.cc
6 years, 10 months ago (2014-02-15 16:46:49 UTC) #10
sky
LGTM
6 years, 10 months ago (2014-02-18 17:22:08 UTC) #11
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 10 months ago (2014-02-18 17:34:19 UTC) #12
pkotwicz
The CQ bit was unchecked by pkotwicz@chromium.org
6 years, 10 months ago (2014-02-18 17:34:20 UTC) #13
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 10 months ago (2014-02-19 16:27:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/149743006/610001
6 years, 10 months ago (2014-02-19 16:32:44 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-19 17:12:04 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=266377
6 years, 10 months ago (2014-02-19 17:12:05 UTC) #17
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 10 months ago (2014-02-19 17:37:01 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/149743006/900001
6 years, 10 months ago (2014-02-19 17:40:25 UTC) #19
pkotwicz
The CQ bit was unchecked by pkotwicz@chromium.org
6 years, 10 months ago (2014-02-19 17:50:18 UTC) #20
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 10 months ago (2014-02-19 17:51:20 UTC) #21
commit-bot: I haz the power
Failed to get patchset properties (patchset not found?)
6 years, 10 months ago (2014-02-19 17:57:55 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/149743006/620007
6 years, 10 months ago (2014-02-19 17:58:36 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-19 19:41:20 UTC) #24
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=266475
6 years, 10 months ago (2014-02-19 19:41:21 UTC) #25
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 10 months ago (2014-02-19 21:01:10 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/149743006/620007
6 years, 10 months ago (2014-02-19 21:05:46 UTC) #27
pkotwicz
The CQ bit was unchecked by pkotwicz@chromium.org
6 years, 10 months ago (2014-02-19 22:49:43 UTC) #28
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 10 months ago (2014-02-19 22:54:15 UTC) #29
pkotwicz
The CQ bit was unchecked by pkotwicz@chromium.org
6 years, 10 months ago (2014-02-19 22:55:03 UTC) #30
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 10 months ago (2014-02-19 23:07:56 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/149743006/1150001
6 years, 10 months ago (2014-02-20 00:26:12 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/149743006/1150001
6 years, 10 months ago (2014-02-20 03:11:19 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/149743006/1150001
6 years, 10 months ago (2014-02-20 05:25:02 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/149743006/1150001
6 years, 10 months ago (2014-02-20 09:27:43 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/149743006/1150001
6 years, 10 months ago (2014-02-20 12:39:52 UTC) #36
commit-bot: I haz the power
6 years, 10 months ago (2014-02-20 17:48:19 UTC) #37
Message was sent while issue was closed.
Change committed as 252301

Powered by Google App Engine
This is Rietveld 408576698