Jump to definition button in console does not handle sourcemap
Categories
(DevTools :: Console, defect, P2)
Tracking
(firefox60 wontfix, firefox71 fixed)
People
(Reporter: nchevobbe, Assigned: wartmanm)
References
Details
Attachments
(1 file, 1 obsolete file)
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Reporter | ||
Comment 3•8 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 5•6 years ago
|
||
Hello Matthew, yes it is :) Are you interested working on it?
Yes, I'd like to work on it, please. I'm interested in making source maps more transparent in general.
Reporter | ||
Comment 7•6 years ago
|
||
Great, the bug is now yours :)
You can read through https://docs.firefox-dev.tools/getting-started/ to set up everything to work on devtools.
Then, this is the place where we create the jump to definition button devtools/client/debugger/packages/devtools-reps/src/reps/function.js#36-49
You can see that we execute onViewSourceInDebugger
which we pass to the React component.
So we need to run the location through a sourcemap service, like we do in https://searchfox.org/mozilla-central/source/devtools/client/shared/components/SmartTrace.js.
You can join us on Slack if you want to discuss anything :)
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Pushed by ccoroiu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4e92d0cd2aaf
Use source mapping for console jump to definition button r=nchevobbe
![]() |
||
Comment 11•6 years ago
|
||
bugherder |
Reporter | ||
Comment 12•6 years ago
|
||
Mattheww, you indicated this bug regressed Bug 1589346, but I don't think it really did?
Assignee | ||
Comment 13•6 years ago
|
||
You're right, I'm very sorry. It's the same issue but a different regression.
Updated•6 years ago
|
Updated•6 years ago
|
Description
•