Performance marker for webconsole add messages should have a unique label per webconsole UI
Categories
(DevTools :: Console, task, P3)
Tracking
(firefox80 fixed)
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
Details
Attachments
(1 file)
The webconsole add messages profile markers are currently all labeled WebConsoleAddMessages
. If you have several webconsole UIs reacting to the same messages, the markers will show up "twice" because both UIs will record markers in the parent process.
This typically happens if you have a content toolbox and a BrowserConsole opened simultaneously. Note that this won't happen with a MBT, because the MBT runs in a different Firefox instance.
We could add a suffix to the WebConsoleAddMessages
to make it unique per webconsole UI.
Comment 1•5 years ago
|
||
I guess we could use toolbox.sessionId
( and -1
for the browser console), like we do for telemetry events
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Profile example with the telemetry session id: https://share.firefox.dev/3gH8APM
(would be great to have title set on the profiler UI)
Assignee | ||
Comment 3•5 years ago
|
||
An issue with the current approach is that labels are a bit too big for the marker chart sidebar in the profiler UI.
An issue was filed to address this at https://github.com/firefox-devtools/profiler/issues/2638
Comment 5•5 years ago
|
||
bugherder |
Description
•