Open Bug 1897436 Opened 1 year ago Updated 1 year ago

Capture the active tab id at the end of the profiling session instead of start

Categories

(Core :: Gecko Profiler, task, P2)

task

Tracking

()

People

(Reporter: canova, Unassigned)

References

Details

(Whiteboard: [fxp])

Currently we capture the active tab id at the start of the profiling session. This is not great for use cases like:

  • You start the profiler in about:newtab
  • Create a new tab an navigate to the website you want to measure.
  • Do the steps to reproduce
  • Capture a profile

Since we created a new tab after we started the profiler, profiler still uses the initial tab id as the active tab id. We should capture the tab id at the end of the profiling session, since the user is most likely to capture right after doing steps to reproduce in their target website.

You need to log in before you can comment on or make changes to this bug.