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

Unified Diff: tools/perf/page_sets/top_7_stress.py

Issue 2618333006: [tools/perf] Fix JavaScript interpolation in action_runner calls (Closed)
Patch Set: fix a few more interpolations Created 3 years, 11 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/todomvc.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/top_7_stress.py
diff --git a/tools/perf/page_sets/top_7_stress.py b/tools/perf/page_sets/top_7_stress.py
index ee228d95b20ee9bc2d71e59f7376685c73bc0db3..c46eb79212c4e5cb22dc28b02d16a71686f7547c 100644
--- a/tools/perf/page_sets/top_7_stress.py
+++ b/tools/perf/page_sets/top_7_stress.py
@@ -11,9 +11,8 @@ def _GetCurrentLocation(action_runner):
def _WaitForLocationChange(action_runner, old_href):
- # TODO(catapult:#3028): Fix interpolation of JavaScript values.
action_runner.WaitForJavaScriptCondition(
- 'document.location.href != "%s"' % old_href)
+ 'document.location.href != {{ old_href }}', old_href=old_href)
class Top7StressPage(page_module.Page):
« no previous file with comments | « tools/perf/page_sets/todomvc.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698