preview popup doesn't show the value of the hovered token
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(firefox-esr128 unaffected, firefox134 unaffected, firefox135 fixed, firefox136 fixed)
Tracking | Status | |
---|---|---|
firefox-esr128 | --- | unaffected |
firefox134 | --- | unaffected |
firefox135 | --- | fixed |
firefox136 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: bomsy)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
Steps to reproduce
- Open the console
- Evaluate the following
function a(value) {
b(value).catch(console.error);
debugger;
};
function b() {
return new Promise(() => {});
}
a("foo")
- The debugger should pause, hover
value
on line 2
Expected results
The preview popup content is "foo"
Actual results
The popup shows content for the catch
function
Reporter | ||
Comment 1•2 months ago
|
||
(updated STR with simpler steps)
Reporter | ||
Comment 2•2 months ago
|
||
this doesn't happen with devtools.debugger.features.codemirror-next
set to false
.
Reverting Bug 1874656 does fix the issue
Comment 3•2 months ago
|
||
Set release status flags based on info from the regressing bug 1874656
:bomsy, since you are the author of the regressor, bug 1874656, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 4•2 months ago
|
||
Thanks for catching! will take a look.
Assignee | ||
Comment 5•2 months ago
|
||
Updated•2 months ago
|
Updated•2 months ago
|
Comment 7•2 months ago
|
||
bugherder |
Comment 8•2 months ago
|
||
The patch landed in nightly and beta is affected.
:bomsy, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox135
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 9•2 months ago
|
||
Comment on attachment 9459089 [details]
Bug 1941269 - [devtools] Fix matching the wrong value in the member expression r=#devtools
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: User might see wrong values for certain tooltip previews in the debugger
- Is this code covered by automated tests?: Yes
- 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): Small javascript code change.
- String changes made/needed:
- Is Android affected?: No
Comment 10•2 months ago
|
||
Comment on attachment 9459089 [details]
Bug 1941269 - [devtools] Fix matching the wrong value in the member expression r=#devtools
Approved for 135.0b8.
Updated•2 months ago
|
Comment 11•2 months ago
|
||
uplift |
Description
•