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

Unified Diff: tools/perf/page_sets/top_10.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/todomvc.py ('k') | tools/perf/page_sets/top_25_smooth.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/top_10.py
diff --git a/tools/perf/page_sets/top_10.py b/tools/perf/page_sets/top_10.py
index 4d9b5eb419340e1971cb62add17020eebcb8b490..7c9045fad222db2377dca3c918728c8a9287818b 100644
--- a/tools/perf/page_sets/top_10.py
+++ b/tools/perf/page_sets/top_10.py
@@ -37,7 +37,7 @@ class Gmail(SimplePage):
def RunNavigateSteps(self, action_runner):
super(Gmail, self).RunNavigateSteps(action_runner)
- action_runner.WaitForJavaScriptCondition2(
+ action_runner.WaitForJavaScriptCondition(
'window.gmonkey !== undefined &&'
'document.getElementById("gb") !== null')
@@ -51,7 +51,7 @@ class GoogleCalendar(SimplePage):
def RunNavigateSteps(self, action_runner):
super(GoogleCalendar, self).RunNavigateSteps(action_runner)
- action_runner.ExecuteJavaScript2('''
+ action_runner.ExecuteJavaScript('''
(function() { var elem = document.createElement("meta");
elem.name="viewport";
elem.content="initial-scale=1";
« no previous file with comments | « tools/perf/page_sets/todomvc.py ('k') | tools/perf/page_sets/top_25_smooth.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698