Closed Bug 1548662 Opened 5 years ago Closed 1 year ago

Clicking on frame in callstack panel may open original file even when pretty version exists

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox115 fixed)

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: loganfsmyth, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Moving from https://bugzilla.mozilla.org/show_bug.cgi?id=1327985#c2

STR:

Load http://janodvarko.cz/tests/bugzilla/1327985/
Open Debugger panel select the index.html file - there is (no domain) in the Sources panel
Create BP on line 1
Click on the page, break in the debugger
Step in (into jQuery code)
Prettify the jQuery code
Click on <anonymous> in the Call stack panel (you should be back in the one liner script)
Click on the jQuery frame in the Call stack panel - and you are back in non-pritiffied version of jQuery -> BUG

ER:
You should be back in prettified version of jQuery

Severity: normal → S3

I can still reproduce with STR from comment 0 on http://janodvarko.cz/tests/bugzilla/1327985/

Summary: Stack frame file links open generated file even when pretty version exists → Clicking on frame in callstack panel may open original file even when pretty version exists
Duplicate of this bug: 1593741
Duplicate of this bug: 1656591

The patch for Bug 1634721 seems to fix this issue.
We might keep this bug open to add a test covering the steps described in Comment 0

Depends on: 1634721
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fde2665d8883
[devtools] Add test for pretty printing and navigating the call stack. r=ochameau,devtools-reviewers.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
QA Whiteboard: [qa-115b-p2]
QA Whiteboard: [qa-115b-p2] → [qa-115b-p2][devtools:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: