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

Unified Diff: tools/chrome_proxy/live_tests/chrome_proxy_measurements.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/chrome_proxy/live_tests/chrome_proxy_measurements.py
diff --git a/tools/chrome_proxy/live_tests/chrome_proxy_measurements.py b/tools/chrome_proxy/live_tests/chrome_proxy_measurements.py
index a3174040a537cc334ba33b8681d1abfcfdc881db..126eb89bdb7b013f15fb465b7f62792493711e1a 100644
--- a/tools/chrome_proxy/live_tests/chrome_proxy_measurements.py
+++ b/tools/chrome_proxy/live_tests/chrome_proxy_measurements.py
@@ -22,7 +22,7 @@ class ChromeProxyLatencyBase(legacy_page_test.LegacyPageTest):
def ValidateAndMeasurePage(self, page, tab, results):
# Wait for the load event.
- tab.WaitForJavaScriptCondition2(
+ tab.WaitForJavaScriptCondition(
'performance.timing.loadEventStart', timeout=300)
self._metrics.Stop(page, tab)
self._metrics.AddResultsForLatency(tab, results)
@@ -62,7 +62,7 @@ class ChromeProxyDataSavingBase(legacy_page_test.LegacyPageTest):
def ValidateAndMeasurePage(self, page, tab, results):
# Wait for the load event.
- tab.WaitForJavaScriptCondition2(
+ tab.WaitForJavaScriptCondition(
'performance.timing.loadEventStart', timeout=300)
self._metrics.Stop(page, tab)
self._metrics.AddResultsForDataSaving(tab, results)

Powered by Google App Engine
This is Rietveld 408576698