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

Unified Diff: tools/perf/page_sets/system_health/blank_stories.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
Index: tools/perf/page_sets/system_health/blank_stories.py
diff --git a/tools/perf/page_sets/system_health/blank_stories.py b/tools/perf/page_sets/system_health/blank_stories.py
index 24866b0bf20623f17ca14fb5de64763bea4087ec..ffe0eccf0836c7361b43a7609799fef16ad520df 100644
--- a/tools/perf/page_sets/system_health/blank_stories.py
+++ b/tools/perf/page_sets/system_health/blank_stories.py
@@ -14,7 +14,7 @@ class BlankAboutBlankStory(system_health_story.SystemHealthStory):
def _DidLoadDocument(self, action_runner):
# Request a RAF and wait for it to be processed to ensure that the metric
# Startup.FirstWebContents.NonEmptyPaint2 is recorded.
- action_runner.ExecuteJavaScript2(
+ action_runner.ExecuteJavaScript(
"""
window.__hasRunRAF = false;
requestAnimationFrame(function() {
@@ -22,4 +22,4 @@ class BlankAboutBlankStory(system_health_story.SystemHealthStory):
});
"""
)
- action_runner.WaitForJavaScriptCondition2("window.__hasRunRAF")
+ action_runner.WaitForJavaScriptCondition("window.__hasRunRAF")
« no previous file with comments | « tools/perf/page_sets/system_health/background_stories.py ('k') | tools/perf/page_sets/system_health/browsing_stories.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698