Show XPCShell in the toolbox title when debugging xpcshell tests
Categories
(DevTools :: General, task, P3)
Tracking
(firefox99 fixed)
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Not sure yet if Bug 1757741 is linked to the xpcshell codepath but it would be nice to surface the information in the Toolbox title.
Running XPCSHELL_TEST_PROFILE_DIR=1 ./mach run --jsdebugger
opens a Browser Toolbox which lacks most panels but there's no clear information that it thinks it's debugging xpcshell tests.
It either says "Multiprocess Browser Toolbox" or "Developer Tools - (pid ....".
We should expose the isXpcShellTarget
flag to the frontend and use it in the toolbox title. https://searchfox.org/mozilla-central/search?path=&q=isXpcShellTarget
Assignee | ||
Comment 1•2 years ago
|
||
Note that XPCShell debugging is usually done via an about:devtools-toolbox tab, so most of the time there will be no title like this.
But we could enable BrowserToolbox xpcshell debugging via https://bugzilla.mozilla.org/show_bug.cgi?id=1620942 and in the meantime this will make it easier to spot configuration issues.
Updated•2 years ago
|
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/56cefe81e25e [devtools] Show custom toolbox title for XPCShell debugging r=nchevobbe
Comment 3•2 years ago
|
||
bugherder |
Description
•