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

Unified Diff: tools/perf/page_sets/key_hit_test_cases.py

Issue 2719853003: [Telemetry refactor] Drop "2" from method calls to JS API (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « tools/perf/page_sets/key_desktop_sites.py ('k') | tools/perf/page_sets/key_mobile_sites_pages.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/key_hit_test_cases.py
diff --git a/tools/perf/page_sets/key_hit_test_cases.py b/tools/perf/page_sets/key_hit_test_cases.py
index 955e219b92519012f64cb518c691cc6ec03d2948..d9dd86cd475656170a830edd7d75a6b9784d2032 100644
--- a/tools/perf/page_sets/key_hit_test_cases.py
+++ b/tools/perf/page_sets/key_hit_test_cases.py
@@ -18,7 +18,7 @@ class PaperCalculatorHitTest(polymer.PolymerPage):
def PerformPageInteractions(self, action_runner):
# pay cost of selecting tap target only once
- action_runner.ExecuteJavaScript2('''
+ action_runner.ExecuteJavaScript('''
window.__tapTarget = document.querySelector(
'body /deep/ #outerPanels'
).querySelector(
@@ -26,7 +26,7 @@ class PaperCalculatorHitTest(polymer.PolymerPage):
).shadowRoot.querySelector(
'paper-calculator-key[label="5"]'
)''')
- action_runner.WaitForJavaScriptCondition2(
+ action_runner.WaitForJavaScriptCondition(
'window.__tapTarget != null')
for _ in xrange(100):
« no previous file with comments | « tools/perf/page_sets/key_desktop_sites.py ('k') | tools/perf/page_sets/key_mobile_sites_pages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698