Add test for markup view event tooltip "Open In Debugger" when script was pretty-printed
Categories
(DevTools :: Inspector, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: ehsan.akhgari, Unassigned)
References
(Blocks 1 open bug)
Details
When clicking on "Open In Debugger" inside Inspector on a list of event listeners that points to minified code, where I have already put the source code in pretty print code, it's really annoying that Firefox keeps opening the original source view, since it typically focuses line 1, which isn't useful for setting a breakpoint on, reading the code, etc.
It would be nice to use the existing pretty print view if one is available.
Comment 1•6 years ago
|
||
This sounds like a reasonable request. We did this recently for minified CSS files opened in the Style Editor (Bug 724505).
It would be nice to have the behaviour consistent for opening sources in the Debugger too.
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Sorry, Bugzilla seems to have eaten the markdown image of the screenshot of the button so I am posting a link.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
I tested it and it does work fine, but I don't think we have a test for it (or adding a test case to browser_markup_view-source.js)
Comment 5•3 years ago
|
||
Test was added in Bug 1010150
Description
•