Closed
Bug 1709619
Opened 4 years ago
Closed 4 years ago
Handle private fields in getSymbols
Categories
(DevTools :: Debugger, task)
DevTools
Debugger
Tracking
(firefox90 fixed)
RESOLVED
FIXED
90 Branch
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(1 file)
getSymbols
is used by the debugger to retrieve information on a given script that are then used in features (e.g. variable tooltip, function list, ...)
It doesn't handle private fields at all and this breaks some features
Assignee | ||
Comment 1•4 years ago
|
||
Symbols are information on the structure of a given script (assignments, functions,
expressions, …)
This patch handles scripts using private fields and fixes a few things in the debugger:
- we get the full expression when hovering a private property access,
a prerequisite to get the value of a private propery in the variable tooltip
(which will be handled in Bug 1709567). - private methods now show up in the outline view under their proper name, and
notanonymous
.simplifyDisplayName
was fixed as well to not strip the#
at the start of the method name.
Tests are added to ensure this works as expected.
Depends on D114345
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4042e167b1bd
[devtools] Handle private fields when retrieving script Symbols. r=bomsy.
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox90:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•