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
valueon line 2
Expected results
The preview popup content is "foo"
Actual results
The popup shows content for the catch function
| Reporter | ||
Comment 1•1 year ago
|
||
(updated STR with simpler steps)
| Reporter | ||
Comment 2•1 year ago
|
||
this doesn't happen with devtools.debugger.features.codemirror-next set to false.
Reverting Bug 1874656 does fix the issue
Comment 3•1 year 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•1 year ago
|
||
Thanks for catching! will take a look.
| Assignee | ||
Comment 5•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 7•1 year ago
|
||
| bugherder | ||
Comment 8•1 year 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-firefox135towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 9•1 year 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•1 year 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•1 year ago
|
Comment 11•1 year ago
|
||
| uplift | ||
Description
•