firefox-devtools / firefox-devtools/profiler

Error when navigating history in the compare interface

Open
#1,736 2 comments 0 reactions 0 assignees View on GitHub
comparison
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

1. Load [this profile](https://perf-html.io/compare/calltree/?globalTrackOrder=0-1&profiles%5B%5D=https%3A%2F%2Fperf-html.io%2Fpublic%2Fb450380ba7877d4a90ff3bed573d374087bd92bc%2Fcalltree%2F%3FglobalTrackOrder%3D0-1%26localTrackOrderByPid%3D27236-1-2-0~27336-0-1~%26range%3D8.3370_9.0051~8.5312_8.7196%26thread%3D2%26v%3D3&profiles%5B%5D=https%3A%2F%2Fperf-html.io%2Fpublic%2Fa8415f3ea9e636aea10fcd15a734abcaf64f2ac4%2Fcalltree%2F%3FglobalTrackOrder%3D0-1%26localTrackOrderByPid%3D28880-1-2-0~28965-0-1~%26thread%3D2%26v%3D3&range=0.0000_2.1860&thread=0&v=3)
1. Press the "Full Range" button at the top left
1. Press the browser's "back" button

=> there's an error:

```
Error: Unable to get the track order from the given pid flow.js:147:10
ensureExists flow.js:147
getLocalTrackOrder url-state.js:106
mapStateToProps GlobalTrack.js:225
React 24
onStateChange (index):972
Redux 4
_updateState UrlManager.js:57
componentDidMount UrlManager.js:61
goBack WebNavigationChild.jsm:72
_wrapURIChangeCall WebNavigationChild.jsm:63
goBack WebNavigationChild.jsm:72
receiveMessage WebNavigationChild.jsm:30
receiveMessage ActorManagerChild.jsm:160
```

And this is happening in:

```
in Connect(GlobalTrackComponent) (created by Timeline)
```

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

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.