Closed Bug 1757744 Opened 2 years ago Closed 2 years ago

Show XPCShell in the toolbox title when debugging xpcshell tests

Categories

(DevTools :: General, task, P3)

task

Tracking

(firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(1 file)

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

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.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/56cefe81e25e
[devtools] Show custom toolbox title for XPCShell debugging r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: