Show CPU geckorprofile link only when you run Firefox (#2931)

This commit is contained in:
Peter Hedenskog 2020-03-17 16:36:01 +01:00 committed by GitHub
parent 7cd5f936eb
commit c133dee3ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ if browsertime && browsertime.cpu && browsertime.cpu.events
- const tracePath = 'data/trace-' + (runNumber? runNumber : 1) + '.json.gz'
a.button.button-download(href=tracePath, download=downloadName + '-timeline.json.gz') Download trace log
if options.browsertime && options.browsertime.firefox && options.browsertime.firefox.geckoProfiler
if options.browsertime && options.browsertime.firefox && options.browsertime.firefox.geckoProfiler && options.browser === 'firefox'
p Download the Firefox Geckoprofiler trace and drag and drop it into
a(href='https://profiler.firefox.com') https://profiler.firefox.com
.downloads