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

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

Issue 113563004: Add perf tests for starting Chrome with URL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test descriptions in start_with_url Created 7 years 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
Index: tools/perf/measurements/session_restore.py
diff --git a/tools/perf/measurements/session_restore.py b/tools/perf/measurements/session_restore.py
index 70a3b84377134cbc612c95115bac95ae1ae5e0dd..b37b4dd57f90769bf94f1f02e5a0ce5564330651 100644
--- a/tools/perf/measurements/session_restore.py
+++ b/tools/perf/measurements/session_restore.py
@@ -38,7 +38,8 @@ class SessionRestore(startup.Startup):
# Reject any pageset that contains more than one WPR archive.
wpr_archives = {}
for page in page_set:
- wpr_archives[page_set.WprFilePathForPage(page)] = True
+ if not page.is_local:
+ wpr_archives[page_set.WprFilePathForPage(page)] = True
if len(wpr_archives.keys()) > 1:
raise Exception("Invalid pageset: more than 1 WPR archive found.: " +

Powered by Google App Engine
This is Rietveld 408576698