Open Bug 1672327 Opened 4 years ago Updated 3 months ago

Rename "main thread" in Debugger source tree

Categories

(DevTools :: Debugger, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Blocks 1 open bug)

Details

Follow up to a review discussion in https://phabricator.services.mozilla.com/D92686#inline-524956

The top frame sources are shown as "Main thread" in the debugger sources, while remote frames will be labeled either by the title of the frame of by its URL.

"Main Thread" made sense when the only top level nodes were either "main thread" or workers. But with remote frames, this vocabulary can become confusing.

We should be consistent with the way we display those in the context selector as well.

Severity: -- → S3
Depends on: 1671167
Priority: -- → P3
Blocks: 1671167
No longer depends on: 1671167

This may be related to:
bug 1589908 The Worker name should be reflected in the threads pane

Please consider, that web workers should be distinguishable and recognizable. So you don't have to find the one you're looking for by blindly trying. Showing the "name" property of the web worker object looks very helpful to me. Also consider, that multiple web workers may be started from the same resource (foobar.js) or from anonymous resources (currently only shows a non helpful UUID in Firefox-130).

Predecessor ticket:
bug 865885 Add a more descriptive name for webworkers

You need to log in before you can comment on or make changes to this bug.