Feature Request: JavaScript Deminification of Eval Code

27 views
Skip to first unread message

Doug

unread,
Aug 27, 2014, 4:30:24 PM8/27/14
to fir...@googlegroups.com
Firefox will now deminify JavaScript within the WebDeveloper tools for sources that are returned from the site. This is great for 99% of situations where you need to be able to read the source and set breakpoints.

However, occasionally I run into sites that have extensive use of "eval". Its great that one of the Script sources you can choose is "SCRIPT_NAME eval", but the resulting code that is displayed is all on one line. As a result there is no good way to read it or to set break points.

Would it be possible to add JavaScript deminification (e.g. JS Beautification ) to the eval code, so that its actually legible and break-points that can be added?

Thanks for your help!

Sebastian Zartner

unread,
Aug 28, 2014, 3:46:31 AM8/28/14
to fir...@googlegroups.com
As described in issue 1238 pretty-printing JS code just works for external scripts at the moment. You can enable it by clicking the Pretty-Print button (the button with the two curly braces).

Sebastian
Reply all
Reply to author
Forward
0 new messages