Index: tools/perf/page_sets/todomvc.py |
diff --git a/tools/perf/page_sets/todomvc.py b/tools/perf/page_sets/todomvc.py |
index a03ebab11c89d56cb14fef73f5cc63b0bd98c7bd..43ce61e4f349dc61f50c4e3c173ac1f06ecec710 100644 |
--- a/tools/perf/page_sets/todomvc.py |
+++ b/tools/perf/page_sets/todomvc.py |
@@ -36,7 +36,7 @@ class TodoMVCPage(page_module.Page): |
'console.time({{ label }});', label=INTERACTION_NAME) |
def RunPageInteractions(self, action_runner): |
- action_runner.ExecuteJavaScript2( |
+ action_runner.ExecuteJavaScript( |
""" |
this.becameIdle = false; |
this.idleCallback = function(deadline) { |
@@ -48,8 +48,8 @@ class TodoMVCPage(page_module.Page): |
requestIdleCallback(this.idleCallback); |
""" |
) |
- action_runner.WaitForJavaScriptCondition2('this.becameIdle === true') |
- action_runner.ExecuteJavaScript2( |
+ action_runner.WaitForJavaScriptCondition('this.becameIdle === true') |
+ action_runner.ExecuteJavaScript( |
'console.timeEnd({{ label }});', label=INTERACTION_NAME) |