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

Unified Diff: tools/perf/benchmarks/indexeddb_perf.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/dromaeo.py ('k') | tools/perf/benchmarks/jetstream.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/indexeddb_perf.py
diff --git a/tools/perf/benchmarks/indexeddb_perf.py b/tools/perf/benchmarks/indexeddb_perf.py
index 41847cab0775371b015686515d3024b6b264ce04..4955798d908c0e08113e7c94d4dbdf4691071e93 100644
--- a/tools/perf/benchmarks/indexeddb_perf.py
+++ b/tools/perf/benchmarks/indexeddb_perf.py
@@ -65,7 +65,7 @@ class _IndexedDbMeasurement(legacy_page_test.LegacyPageTest):
def ValidateAndMeasurePage(self, page, tab, results):
tab.WaitForDocumentReadyStateToBeComplete()
- tab.WaitForJavaScriptCondition2('window.done', timeout=600)
+ tab.WaitForJavaScriptCondition('window.done', timeout=600)
self._power_metric.Stop(page, tab)
self._memory_metric.Stop(page, tab)
@@ -73,7 +73,7 @@ class _IndexedDbMeasurement(legacy_page_test.LegacyPageTest):
self._memory_metric.AddResults(tab, results)
self._power_metric.AddResults(tab, results)
- result_dict = json.loads(tab.EvaluateJavaScript2(
+ result_dict = json.loads(tab.EvaluateJavaScript(
'JSON.stringify(automation.getResults());'))
total = 0.0
for key in result_dict:
« no previous file with comments | « tools/perf/benchmarks/dromaeo.py ('k') | tools/perf/benchmarks/jetstream.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698