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

Issue 282143002: mac: Add browser tests for history swiping. (Closed)

Created:
6 years, 7 months ago by erikchen
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

mac: Add browser tests for history swiping. One of the tests replays recorded events from a real swipe. The others simulate realistic conditions and test edge cases. The tests discovered two bugs: - History swiping cannot be triggered if the very first touch event consists of only vertical motion. - History swiping blocks vertical part of diagonal swipes. BUG=375514, 375512 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272334

Patch Set 1 : Fix ordering of includes in gypi #

Patch Set 2 : More tests! #

Patch Set 3 : Disable tests on 10.6 #

Patch Set 4 : Add crbug links. #

Patch Set 5 : Add forward declarations for 10.6 #

Total comments: 20

Patch Set 6 : Address style comments from asvitkine. #

Total comments: 10

Patch Set 7 : More style comments from asvitkine. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+683 lines, -0 lines) Patch
A chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm View 1 2 3 4 5 6 1 chunk +681 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
erikchen
thakis: More tests will follow once this one is submitted. This is in preparation for ...
6 years, 7 months ago (2014-05-15 01:46:00 UTC) #1
erikchen
thakis: ping
6 years, 7 months ago (2014-05-19 21:01:17 UTC) #2
erikchen
asvitkine: Let me know if you have time to review this CL, as thakis is ...
6 years, 7 months ago (2014-05-20 23:12:01 UTC) #3
Alexei Svitkine (slow)
I haven't looked at the logic yet, but here's some style nits for you for ...
6 years, 7 months ago (2014-05-21 06:29:10 UTC) #4
erikchen
asvitkine: Thanks for the fast first pass! PTAL https://codereview.chromium.org/282143002/diff/120001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm File chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm (right): https://codereview.chromium.org/282143002/diff/120001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm#newcode23 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm:23: namespace ...
6 years, 7 months ago (2014-05-21 23:40:15 UTC) #5
Alexei Svitkine (slow)
LGTM with a few more nits https://codereview.chromium.org/282143002/diff/140001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm File chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm (right): https://codereview.chromium.org/282143002/diff/140001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm#newcode94 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm:94: [event_queue_ release]; Nit: ...
6 years, 7 months ago (2014-05-22 13:30:46 UTC) #6
erikchen
https://codereview.chromium.org/282143002/diff/140001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm File chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm (right): https://codereview.chromium.org/282143002/diff/140001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm#newcode94 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_browsertest.mm:94: [event_queue_ release]; On 2014/05/22 13:30:47, Alexei Svitkine wrote: > ...
6 years, 7 months ago (2014-05-22 17:48:05 UTC) #7
erikchen
The CQ bit was checked by erikchen@chromium.org
6 years, 7 months ago (2014-05-22 17:48:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikchen@chromium.org/282143002/160001
6 years, 7 months ago (2014-05-22 17:49:12 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 20:29:46 UTC) #10
erikchen
thakis: looking for an owner LGTM.
6 years, 7 months ago (2014-05-22 20:32:13 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 20:36:15 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/69321)
6 years, 7 months ago (2014-05-22 20:36:15 UTC) #13
Nico
rslgtm
6 years, 7 months ago (2014-05-22 20:43:54 UTC) #14
erikchen
The CQ bit was checked by erikchen@chromium.org
6 years, 7 months ago (2014-05-22 20:48:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikchen@chromium.org/282143002/160001
6 years, 7 months ago (2014-05-22 20:49:52 UTC) #16
commit-bot: I haz the power
6 years, 7 months ago (2014-05-22 21:49:26 UTC) #17
Message was sent while issue was closed.
Change committed as 272334

Powered by Google App Engine
This is Rietveld 408576698