mozilla / side-view

An experiment with opening mobile views of pages in the sidebar
Mozilla Public License 2.0
189 stars 41 forks source link

Cannot get a local profile (from the Firefox profiler) in the side view #473

Open calixteman opened 1 week ago

calixteman commented 1 week ago

STR:

The profile can't be loaded: image

It'll be useful in order to be able to compare two profiles. There's a workaround: upload the profile, but it'd be better to avoid that.

julienw commented 1 week ago

For more context, the profile glue maps a tab browser object with its profile value (see https://searchfox.org/mozilla-central/search?q=symbol:%23infoForBrowserMap&redirect=false). I suppose that the sideview creates a different tab browser than the original one. Therefore the glue can't find the profile data. If we could be pingued with the old tabbrowser and the new tabbrowser, we could definitely change the map to account for that.