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

Unified Diff: tools/perf/measurements/session_restore_with_url.py

Issue 132593003: Fix errors in start with URL tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | tools/perf/page_sets/data/startup_pages.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/session_restore_with_url.py
diff --git a/tools/perf/measurements/session_restore_with_url.py b/tools/perf/measurements/session_restore_with_url.py
index 81934e82329157466f64bced00c03ace15eea5cf..8ef276b658feeab1a7f64ce4300035f84f8adb77 100644
--- a/tools/perf/measurements/session_restore_with_url.py
+++ b/tools/perf/measurements/session_restore_with_url.py
@@ -12,4 +12,4 @@ class SessionRestoreWithUrl(session_restore.SessionRestore):
def CanRunForPage(self, page):
# Run for every page in the page set that has a startup url.
- return page.hasattr('startup_url')
+ return page.navigate_steps[0]['action'] == 'set_startup_url'
« no previous file with comments | « no previous file | tools/perf/page_sets/data/startup_pages.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698