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

Unified Diff: tools/telemetry/telemetry/internal/actions/scroll_bounce.py

Issue 1428733002: Update telemetry tests to be agnostic to ScrollTopLeftInterop mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/internal/actions/scroll_bounce.py
diff --git a/tools/telemetry/telemetry/internal/actions/scroll_bounce.py b/tools/telemetry/telemetry/internal/actions/scroll_bounce.py
index c0b60d04f3948d6b762f716cb22fb1b9cda3cf86..7782fcc3090461be776aad9583a00ae4b4574962 100644
--- a/tools/telemetry/telemetry/internal/actions/scroll_bounce.py
+++ b/tools/telemetry/telemetry/internal/actions/scroll_bounce.py
@@ -38,7 +38,7 @@ class ScrollBounceAction(page_action.PageAction):
if (self._selector is None and self._text is None and
self._element_function is None):
- self._element_function = 'document.body'
+ self._element_function = 'document.scrollingElement'
def WillRunAction(self, tab):
for js_file in ['gesture_common.js', 'scroll_bounce.js']:
« no previous file with comments | « tools/telemetry/telemetry/internal/actions/scroll.py ('k') | tools/telemetry/telemetry/internal/actions/swipe.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698