Tweak about:logging preset/settings to help record JavaScript traces
Categories
(Core :: XPCOM, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox143 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
about:logging would be a really great tool to help record WebCompat issues happening on mobile and then share a profiler record of it.
But, for now, the profiler record is only saving samples of JavaScript calls, whereas the profiler now support recording all function calls via the "tracing" setting.
May be, alongside the Enable stack traces for log messages checkbox, we could have a Record all JavaScript function call one? (or Enable JavaScript tracing?) This would help slice in the "tracing"` setting to the profiler.
Also, there is two log modules which would be handy to have:
console, which captures all console API callsPageMessages, which captures all gecko warnings and errors sent to the console
Would that be meaningful to add a "Web Developer", "Web Compat", "Web Debugging" preset with these two?
I'm less confident about this as it feels pretty ortogonal to the existing list of preset which are rather defined to independent layers or features of the web.
Comment 1•9 months ago
|
||
(In reply to Alexandre Poirot [:ochameau] from comment #0)
Would that be meaningful to add a "Web Developer", "Web Compat", "Web Debugging" preset with these two?
For the "someone else records us something to show an issue we can't reproduce ourselves", having more data available is usually not a bad thing. We can filter/ignore things if we don't need them, but we can't always get immediate responses/additions from someone who can reproduce.
| Assignee | ||
Comment 2•9 months ago
|
||
| Assignee | ||
Comment 3•9 months ago
|
||
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Comment 5•9 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/880ba5e83991
https://hg.mozilla.org/mozilla-central/rev/beee63c80e97
Description
•