Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TypeError: Cannot read properties of undefined (reading 'map')" when comparing profiles #5254

Open
eric-wieser opened this issue Dec 10, 2024 · 1 comment

Comments

@eric-wieser
Copy link

eric-wieser commented Dec 10, 2024

I am trying to use the interface at https://profiler.firefox.com/compare/ to compare:

However, if I enter these URLs into the interface, I get the error:

Could not retrieve the profiles.

TypeError: Cannot read properties of undefined (reading 'map')

The full stack has been written to the Web Console.

Am I understanding the interface correctly? Or do I need to upload my json files somewhere and enter the URLs to those?

┆Issue is synchronized with this Jira Task

@mstange
Copy link
Contributor

mstange commented Dec 10, 2024

The frameTable in your profile doesn't have a category column. The compare code doesn't check for the presence of that column because our type definition of FrameTable has it as a non-optional column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants