Having the toolbox open alongside browser mochitests spams the terminal window
Categories
(DevTools :: Debugger, task, P2)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: standard8, Assigned: davidwalsh)
References
(Blocks 1 open bug)
Details
(Whiteboard: [debugger-mvp])
Attachments
(1 file)
If I run something like:
./mach mochitest --tag=quantumbar --jsdebugger browser/components/urlbar/tests/browser/browser_urlbarSearchFunction.js
Then once the toolbox starts up, there is lots of spam to the terminal/console window.
This makes it hard for me to see the test output.
Typical sort of logs:
0:04.00 GECKO(21736) [ACTION] ADD_SOURCES - {"type":"ADD_SOURCES","sources":[{"id":"sourceURL-resource:///modules/ZoomUI.jsm","url":"resource:///modules/ZoomUI.jsm","relativeUrl":"resource:///modules/ZoomUI.jsm","isPrettyPrinted":false,"sourceMapURL":null,"introductionUrl":null,"isBlackBoxed":false,"loadedState":"unloaded","isWasm":false}],"sourceActors":[{"actor":"server2.conn0.source92","source":"sourceURL-resource:///modules/ZoomUI.jsm","thread":"server2.conn0.context22"}]}
2:36.15 GECKO(21736) [ACTION] COMMAND [start] - {"type":"COMMAND","command":"resume","thread":"server2.conn0.context22","seqId":"26","status":"start"}
2:36.20 GECKO(21736) [ACTION] RESUME - {"type":"RESUME","thread":"server2.conn0.context22"}
2:36.20 GECKO(21736) [ACTION] EVALUATE_EXPRESSIONS - {"type":"EVALUATE_EXPRESSIONS","inputs":[],"results":[]}
2:36.21 GECKO(21736) [ACTION] COMMAND [done] - {"type":"COMMAND","command":"resume","thread":"server2.conn0.context22","seqId":"26","status":"done","value":{"from":"server2.conn0.context22","type":"resumed"}}
Is there some way we can turn this off?
Comment 1•6 years ago
|
||
Those messages look like they are coming from the debugger frontend via some kind of redux logging. Jason, is there a pref to disable this?
Updated•6 years ago
|
Reporter | ||
Comment 2•6 years ago
|
||
I discovered that I could work around this by commenting out this section:
Comment 3•6 years ago
|
||
We should probably only show these logs if we're running debugger mochitests. I can update the check to be more specific.
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
|
||
We a pref to prevent this now: debugger.log-actions
Reporter | ||
Comment 6•6 years ago
|
||
I don't see any setting of this preference for mochitests, so we're still spamming the console for those.
Reporter | ||
Comment 7•6 years ago
|
||
I just tried setting this in testing/profiles/common/user.js
, I also tried setting it to false in the two cases I could find, here and here.
Unfortunately none of those worked, I'm still getting console spam.
Assignee | ||
Comment 8•6 years ago
|
||
Prevents any output coming from the debugger logging actions
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
bugherder |
Description
•