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

Unified Diff: tools/perf/page_sets/dummy_story_set.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/blob_workshop.py ('k') | tools/perf/page_sets/google_pages.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/dummy_story_set.py
diff --git a/tools/perf/page_sets/dummy_story_set.py b/tools/perf/page_sets/dummy_story_set.py
index 15ce7883fcfc59d5626fc403f28f388dd3d43b6f..c3fe05c6a73f5434e5e6f4d1c92ea52f68f0ca51 100644
--- a/tools/perf/page_sets/dummy_story_set.py
+++ b/tools/perf/page_sets/dummy_story_set.py
@@ -13,7 +13,7 @@ class DummyPage(page_module.Page):
page_set=page_set)
def RunPageInteractions(self, action_runner):
- assert action_runner.EvaluateJavaScript2('1 + window.__dummy_value') == 2
+ assert action_runner.EvaluateJavaScript('1 + window.__dummy_value') == 2
class BrokenDummyPage(page_module.Page):
@@ -26,7 +26,7 @@ class BrokenDummyPage(page_module.Page):
def RunPageInteractions(self, action_runner):
# The call below should raise an AssertionError
- assert action_runner.EvaluateJavaScript2('1 + window.__dummy_value') == 3
+ assert action_runner.EvaluateJavaScript('1 + window.__dummy_value') == 3
class DummyStorySet(story.StorySet):
« no previous file with comments | « tools/perf/page_sets/blob_workshop.py ('k') | tools/perf/page_sets/google_pages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698