Feature Request: JavaScript Deminification of Eval Code

27 de afișări
Accesați primul mesaj necitit

Doug

necitită,
27 aug. 2014, 16:30:2427.08.2014
– 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

necitită,
28 aug. 2014, 03:46:3128.08.2014
– 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
Răspundeți tuturor
Răspundeți autorului
Redirecționați
0 mesaje noi