Closed
Bug 1364526
Opened 8 years ago
Closed 8 years ago
clicking source-mapped url only works if debugger already opened
Categories
(DevTools :: Framework, enhancement, P2)
DevTools
Framework
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tromey, Assigned: tromey)
References
(Blocks 1 open bug)
Details
If you have a source-mapped url somewhere in devtools (e.g., the console);
then clicking it will work if the debugger has already been opened -- it will
open the source in the debugger.
However, it will not work if the debugger has never been opened. In this case
this call to getSource will not return a truthy value:
https://dxr.mozilla.org/mozilla-central/rev/8a7d0b15595f9916123848ca906f29c62d4914c9/devtools/client/shared/view-source.js#62
Maybe it would be possible to fix this in the debugger.
Another idea would be to simply pass a flag to viewSourceInDebugger, because in
these cases we already know that the URL comes from a source-mapped source.
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → ttromey
| Assignee | ||
Comment 1•8 years ago
|
||
| Assignee | ||
Comment 2•8 years ago
|
||
This landed as part of bug 1367193.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•