firefox-devtools / firefox-devtools/profiler

Load a profile from URL doesn't work for perf script profiles

Open
#3,766 8 comments 0 reactions 0 assignees View on GitHub
profile data
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

Profiles generated using `perf script` can be opened from the file selection dialog, but loading the same file by URL fails with:

```
The profile could not be downloaded and decoded. This does not look like a supported file type.
JSON parsing error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
```

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-493)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.