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

Unified Diff: tools/perf/page_sets/tough_scheduling_cases.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/page_sets/tough_pinch_zoom_cases.py ('k') | tools/perf/page_sets/tough_webgl_cases.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_scheduling_cases.py
diff --git a/tools/perf/page_sets/tough_scheduling_cases.py b/tools/perf/page_sets/tough_scheduling_cases.py
index ac0de953df9a0bf25402ac8c83233403ea2295ec..1a817a1a93930916b2fa44416ccdf43a7c2065e5 100644
--- a/tools/perf/page_sets/tough_scheduling_cases.py
+++ b/tools/perf/page_sets/tough_scheduling_cases.py
@@ -377,16 +377,16 @@ class SecondBatchJsPage(ToughSchedulingCasesPage):
action_runner.TapElement(selector='div[id="spinner"]')
# Begin the action immediately because we want the page to update smoothly
# even while resources are being loaded.
- action_runner.WaitForJavaScriptCondition2('window.__ready !== undefined')
+ action_runner.WaitForJavaScriptCondition('window.__ready !== undefined')
with action_runner.CreateGestureInteraction('LoadAction'):
- action_runner.ExecuteJavaScript2('kickOffLoading()')
- action_runner.WaitForJavaScriptCondition2('window.__ready')
+ action_runner.ExecuteJavaScript('kickOffLoading()')
+ action_runner.WaitForJavaScriptCondition('window.__ready')
# Click one second after the resources have finished loading.
action_runner.Wait(1)
action_runner.TapElement(selector='input[id="run"]')
# Wait for the test to complete.
- action_runner.WaitForJavaScriptCondition2('window.__finished')
+ action_runner.WaitForJavaScriptCondition('window.__finished')
class ToughSchedulingCasesPageSet(story.StorySet):
« no previous file with comments | « tools/perf/page_sets/tough_pinch_zoom_cases.py ('k') | tools/perf/page_sets/tough_webgl_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698