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

Unified Diff: tools/telemetry/telemetry/page/record_wpr.py

Issue 177093013: Move the setting of test options to WillRunTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/telemetry/telemetry/page/page_test_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/page/record_wpr.py
diff --git a/tools/telemetry/telemetry/page/record_wpr.py b/tools/telemetry/telemetry/page/record_wpr.py
index 6aaec3578280176c4a80b7cb371ba426f0d590e9..daf15e19b398a137d6a43f8206d0aae6aa3c9215 100755
--- a/tools/telemetry/telemetry/page/record_wpr.py
+++ b/tools/telemetry/telemetry/page/record_wpr.py
@@ -55,7 +55,7 @@ class RecordPage(page_test.PageTest):
if self.test:
self.test.DidNavigateToPage(page, tab)
- def Run(self, options, page, tab, results):
+ def Run(self, page, tab, results):
# When recording, sleep to catch any resources that load post-onload.
tab.WaitForDocumentReadyStateToBeComplete()
@@ -74,7 +74,7 @@ class RecordPage(page_test.PageTest):
# Run the actions for all measurements. Reload the page between
# actions.
should_reload = False
- for compound_action in self._CompoundActionsForPage(page, options):
+ for compound_action in self._CompoundActionsForPage(page, self.options):
if should_reload:
self.RunNavigateSteps(page, tab)
self._RunCompoundAction(page, tab, compound_action)
« no previous file with comments | « tools/telemetry/telemetry/page/page_test_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698