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

Unified Diff: tools/perf/perf_tools/blink_perf.py

Issue 15891010: [Telemetry] Fix blink_perf output trace names on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/perf_tools/blink_perf.py
diff --git a/tools/perf/perf_tools/blink_perf.py b/tools/perf/perf_tools/blink_perf.py
index 775442366867bd82498e2748f6c5d2bcd6755249..2183f92722c5e36b66d3f0436b0273494df16cea 100644
--- a/tools/perf/perf_tools/blink_perf.py
+++ b/tools/perf/perf_tools/blink_perf.py
@@ -37,7 +37,8 @@ class BlinkPerf(page_measurement.PageMeasurement):
if '../' in open(path, 'r').read():
# If the page looks like it references its parent dir, include it.
page_set_dict['serving_dirs'] = [os.path.dirname(os.path.dirname(path))]
- page_set_dict['pages'].append({'url': 'file://' + path})
+ page_set_dict['pages'].append({'url':
+ 'file://' + path.replace('\\', '/')})
def _AddDir(dir_path, skipped):
for path in os.listdir(dir_path):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698