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

Issue 181483002: Telemetry: Clean up tap and click_element gestures. (Closed)

Created:
6 years, 10 months ago by Dominik Grewe
Modified:
6 years, 9 months ago
Reviewers:
nduca, adamk
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

Telemetry: Clean up tap and click_element gestures. The tap and click_element page actions have a very similar purpose but use a very different implementation. This patch renames click_element to javascript_click to indicate that it is not using synthetic gestures as tap does. It also replaces click_element with tap inside smoothness measurements, so we exercise the entire input stack. In other places we keep click_element (now javascript_click) because tap's functionality isn't always sufficient (click elements outside of the view; clicking on very small elements causes Chrome to magnify the element first). Further, tap now supports all ways to select an element that click_element supported (by text, xpath etc). This CL also removes the tap_element page action, which was only used inside smoothness for the pica page set. This case is currently broken and adamk@ said he'd re-implement it using synthetic gestures if needed. BUG=339233 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255355

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -259 lines) Patch
M tools/perf/page_sets/browser_control_click.json View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/page_sets/calendar_forward_backward.json View 1 chunk +8 lines, -8 lines 0 comments Download
M tools/perf/page_sets/gmail_alt_threadlist_conversation.json View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/page_sets/gmail_alt_two_labels.json View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/page_sets/gmail_compose_discard.json View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/page_sets/gmail_expand_collapse_conversation.json View 1 chunk +4 lines, -4 lines 0 comments Download
M tools/perf/page_sets/indexeddb_offline.json View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/page_sets/key_mobile_sites.json View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/page_sets/key_silk_cases.json View 1 1 chunk +4 lines, -4 lines 0 comments Download
M tools/perf/page_sets/pica.json View 1 chunk +1 line, -6 lines 0 comments Download
M tools/perf/page_sets/plus_alt_posts_photos.json View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/page_sets/top_25.json View 7 chunks +35 lines, -35 lines 0 comments Download
D tools/telemetry/telemetry/page/actions/click_element.py View 1 chunk +0 lines, -51 lines 0 comments Download
D tools/telemetry/telemetry/page/actions/click_element_unittest.py View 1 chunk +0 lines, -73 lines 0 comments Download
A + tools/telemetry/telemetry/page/actions/javascript_click.py View 1 chunk +1 line, -1 line 0 comments Download
A + tools/telemetry/telemetry/page/actions/javascript_click_unittest.py View 5 chunks +5 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/page/actions/tap.js View 1 3 chunks +6 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/page/actions/tap.py View 4 chunks +51 lines, -14 lines 0 comments Download
D tools/telemetry/telemetry/page/actions/tap_element.py View 1 chunk +0 lines, -40 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Dominik Grewe
PTAL.
6 years, 10 months ago (2014-02-26 14:15:16 UTC) #1
nduca
lgtm
6 years, 9 months ago (2014-03-05 23:44:43 UTC) #2
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 9 months ago (2014-03-06 09:54:27 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominikg@chromium.org/181483002/20001
6 years, 9 months ago (2014-03-06 09:54:38 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 09:54:42 UTC) #5
commit-bot: I haz the power
Failed to apply patch for tools/perf/page_sets/key_silk_cases.json: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-06 09:54:43 UTC) #6
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 9 months ago (2014-03-06 10:00:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominikg@chromium.org/181483002/40001
6 years, 9 months ago (2014-03-06 10:00:32 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 10:57:29 UTC) #9
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=276240
6 years, 9 months ago (2014-03-06 10:57:30 UTC) #10
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 9 months ago (2014-03-06 11:45:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominikg@chromium.org/181483002/40001
6 years, 9 months ago (2014-03-06 11:46:15 UTC) #12
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 15:15:34 UTC) #13
Message was sent while issue was closed.
Change committed as 255355

Powered by Google App Engine
This is Rietveld 408576698