Can't jump to debugger tab from performance tab in call tree view
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(firefox-esr68 unaffected, firefox-esr78 wontfix, firefox78 wontfix, firefox79 verified, firefox80 verified)
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | wontfix |
firefox78 | --- | wontfix |
firefox79 | --- | verified |
firefox80 | --- | verified |
People
(Reporter: marvin, Assigned: daisuke)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
281.56 KB,
image/png
|
Details | |
47 bytes,
text/x-phabricator-request
|
ryanvm
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
ryanvm
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0
Steps to reproduce:
- Go to https://preactjs.com
- Open devtools
- Click on performance tab in devtools
- Click record
- Reload page
- Stop recording
- Click on Call Tree view and try to click on any js links
Actual results:
Nothing
Expected results:
Jump to the source location in the debugger like the title suggests
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
This was regressed by https://phabricator.services.mozilla.com/D68537 because it removed PerformanceController.toolbox
but presently, that variable is used in 4 places (https://searchfox.org/mozilla-central/search?q=PerformanceController.toolbox&path=) to call PerformanceController.toolbox.viewSourceInDebugger(...)
, so now all of these places throw because toolbox
is undefined
.
@daisuke I can't quite tell why toolbox was removed, would that be easy to add back in?
Assignee | ||
Comment 3•5 years ago
|
||
Thank you very much for reporting and I'm sorry for the inconvenience, marvin!
I could reproduce the issue.
Hi Logan, thank you very much for finding the cause!
Yes, it seems that it was caused by my patch.
I had thought that the toolbox
is never referred from any places, I'm so sorry..
I'll fix this soon.
Assignee | ||
Comment 4•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Thank you very much for reporting and I'm sorry for the inconvenience, marvin!
(...)
I had thought that the toolbox is never referred from any places, I'm so sorry.. I'll fix this soon.
@daisuke No worries, stuff like that happens to all of us and is a normal part of being a developer. Don't beat yourself up about it :)
Assignee | ||
Comment 7•5 years ago
|
||
(In reply to marvin from comment #6)
@daisuke No worries, stuff like that happens to all of us and is a normal part of being a developer. Don't beat yourself up about it :)
Thanks :)
Assignee | ||
Updated•5 years ago
|
Comment 9•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 11•5 years ago
|
||
bugherder |
Comment 12•5 years ago
|
||
@daisuke How do you feel about uplifting these patches? Seems like a good idea to me and unlikely to have any issues.
Updated•5 years ago
|
Assignee | ||
Comment 13•5 years ago
|
||
(In reply to Logan Smyth [:loganfsmyth] from comment #12)
@daisuke How do you feel about uplifting these patches? Seems like a good idea to me and unlikely to have any issues.
Hi @loganfsmyth!
Yes, I don't see any problems.
Could you do this since I am not sure the uplifting risk of your patch much?
Comment 14•5 years ago
|
||
Comment on attachment 9162376 [details]
Bug 1650658: Revert PerformanceController to have toolbox.
Beta/Release Uplift Approval Request
- User impact if declined: Users will be unable to click filenames in the Devtools Performance tool to open them in the debugger.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is not risky because it is reverting a change made in another patch by adding a property to an object that was incorrectly removed. The related patch in D82950 is also not risky because the only change is to parse a string value into a number value.
- String changes made/needed:
Updated•5 years ago
|
Comment 15•5 years ago
|
||
Comment on attachment 9162376 [details]
Bug 1650658: Revert PerformanceController to have toolbox.
Devtools regression fix. Approved for 79.0b9.
Updated•5 years ago
|
Comment 16•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Updated•5 years ago
|
Comment 17•5 years ago
|
||
I’ve reproduced this issue with Fx 80.0a1 (2020-07-05) on Windows 10.
The issue is fixed with Fx 80.0a1 (2020-07-19) and Fx 79.0b9 on Windows 10 and Ubuntu 18.04.
Description
•