Open mstange opened 5 years ago
Ah thanks, indeed we should likely not pass a transformStack if we already have one defined in https://github.com/firefox-devtools/profiler/blob/dd1ef15c24e65f1b198a48ef06465709f2f22071/src/actions/receive-profile.js#L892-L909
Another possible location: https://github.com/firefox-devtools/profiler/blob/dd1ef15c24e65f1b198a48ef06465709f2f22071/src/reducers/url-state.js#L133-L134 I don't know which one I prefer yet.
Ideally I'd like to be able to make a difference between "no transform stacks are defined" and "the user removed the existing transform stacks" but I don't think that's possible with our current code.
I'm changing this to polish since it's not really breaking things.
Here's a URL that links to a profile comparison view with a "focus on function" transform applied.
Upon load, that transform gets discarded.
┆Issue is synchronized with this Jira Task