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

Unified Diff: tools/perf/benchmarks/robohornet_pro.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/benchmarks/oortonline.py ('k') | tools/perf/benchmarks/service_worker.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/robohornet_pro.py
diff --git a/tools/perf/benchmarks/robohornet_pro.py b/tools/perf/benchmarks/robohornet_pro.py
index dfa54b288a547cdd4d62af400b998cc66ccba3c2..25e5c8b6431884a0970a728c175880d297e806cc 100644
--- a/tools/perf/benchmarks/robohornet_pro.py
+++ b/tools/perf/benchmarks/robohornet_pro.py
@@ -33,15 +33,15 @@ class _RobohornetProMeasurement(legacy_page_test.LegacyPageTest):
self._power_metric.Start(page, tab)
def ValidateAndMeasurePage(self, page, tab, results):
- tab.ExecuteJavaScript2('ToggleRoboHornet()')
- tab.WaitForJavaScriptCondition2(
+ tab.ExecuteJavaScript('ToggleRoboHornet()')
+ tab.WaitForJavaScriptCondition(
'document.getElementById("results").innerHTML.indexOf("Total") != -1',
timeout=600)
self._power_metric.Stop(page, tab)
self._power_metric.AddResults(tab, results)
- result = int(tab.EvaluateJavaScript2('stopTime - startTime'))
+ result = int(tab.EvaluateJavaScript('stopTime - startTime'))
results.AddValue(
scalar.ScalarValue(results.current_page, 'Total', 'ms', result))
« no previous file with comments | « tools/perf/benchmarks/oortonline.py ('k') | tools/perf/benchmarks/service_worker.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698