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

Unified Diff: tools/perf/page_sets/login_helpers/chrome_login.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/key_silk_cases.py ('k') | tools/perf/page_sets/login_helpers/dropbox_login.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/login_helpers/chrome_login.py
diff --git a/tools/perf/page_sets/login_helpers/chrome_login.py b/tools/perf/page_sets/login_helpers/chrome_login.py
index 1be4ee23a899a3c8b25ce4692406a3d59f046c1a..33dad0fcc27159deea6d7694942dce3aead8adcc 100644
--- a/tools/perf/page_sets/login_helpers/chrome_login.py
+++ b/tools/perf/page_sets/login_helpers/chrome_login.py
@@ -44,7 +44,7 @@ def LoginChromeAccount(action_runner, credential,
raise RuntimeError('Can not find GAIA webview context for sign in.')
gaia_action_runner = action_runner_module.ActionRunner(gaia_context)
- new_flow = gaia_action_runner.EvaluateJavaScript2(
+ new_flow = gaia_action_runner.EvaluateJavaScript(
'document.querySelector("#gaia_firsform") != null')
gaia_form_id = 'gaia_firstform' if new_flow else 'gaia_loginform'
login_utils.InputForm(gaia_action_runner, account_name, input_id='Email',
« no previous file with comments | « tools/perf/page_sets/key_silk_cases.py ('k') | tools/perf/page_sets/login_helpers/dropbox_login.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698