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

Unified Diff: tools/perf/measurements/blink_style.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/sunspider.py ('k') | tools/perf/measurements/image_decoding.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/blink_style.py
diff --git a/tools/perf/measurements/blink_style.py b/tools/perf/measurements/blink_style.py
index 4e31a9ed36d20799b0ad783ccb191f26d84be721..dae97c74cf8044df1892dda356579e3c9605d728 100644
--- a/tools/perf/measurements/blink_style.py
+++ b/tools/perf/measurements/blink_style.py
@@ -30,7 +30,7 @@ class BlinkStyle(legacy_page_test.LegacyPageTest):
def ValidateAndMeasurePage(self, page, tab, results):
with tab.action_runner.CreateInteraction('wait-for-quiescence'):
- tab.ExecuteJavaScript2('console.time("");')
+ tab.ExecuteJavaScript('console.time("");')
try:
util.WaitFor(tab.HasReachedQuiescence, 15)
except py_utils.TimeoutException:
@@ -39,7 +39,7 @@ class BlinkStyle(legacy_page_test.LegacyPageTest):
# state on every run.
pass
- tab.ExecuteJavaScript2('''
+ tab.ExecuteJavaScript('''
for (var i = 0; i < 11; i++) {
var cold = i % 2 == 0;
var name = "update_style";
« no previous file with comments | « tools/perf/benchmarks/sunspider.py ('k') | tools/perf/measurements/image_decoding.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698