Closed
Bug 1648145
Opened 4 years ago
Closed 4 years ago
Main Thread Title Doesn't Change in Sources Tree
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(firefox80 verified)
RESOLVED
FIXED
Firefox 80
Tracking | Status | |
---|---|---|
firefox80 | --- | verified |
People
(Reporter: davidwalsh, Assigned: davidwalsh)
References
Details
Attachments
(2 files)
- Go to https://davidwalsh.name
- Open debugger -- see "David Walsh ...." at the top of the sources tress.
- Click a link to any blog post
- ERROR: Main thread title DOES NOT CHANGE (articles are swapped via AJAX, so maybe reasonable that the title doesn't change)
- Navigate to https://facebook.com
- ERROR: Main thread title is "David Walsh ..."
It appears that the main thread title never changes in the sources tree. I believe this is because that the thread name is set when initially attached but doesn't update upon navigation.
I don't know that setting the main thread name to the page title is a good solution. Since document.title
can change a page title within JavaScript, and someone could update that every 2 milliseconds, updating page titles could either not work or just bog down the debugger.
Comment 1•4 years ago
|
||
Good call. We should probably use 'Main Thread' or something generic like that.
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → dwalsh
Status: NEW → ASSIGNED
Pushed by dwalsh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aacc7585e011 Show 'Main Thread' label for top level main thread in sources tree r=jlast
Comment 5•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
Comment 6•4 years ago
|
||
Verified fixed on Nightly 80.0a1 (20200701213212)
You need to log in
before you can comment on or make changes to this bug.
Description
•