Open
Bug 1267518
Opened 8 years ago
Updated 2 years ago
Change names in Debugger to make it easier to read (deobfuscate)
Categories
(DevTools :: Debugger, enhancement, P5)
Tracking
(Not tracked)
NEW
People
(Reporter: karlcow, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
60.17 KB,
image/png
|
Details |
It's a kind of spin-off of Bug 1010150 and previous emails > * Debugger: Rename JS variable and propagate in the code >(issue analyzing the scope.) in https://groups.google.com/d/msg/mozilla.compatibility/p_69ME8FhPM/NZfkuHDybZ4J > # Un-minified JS crazy renaming > > Once the JS has been un-minified, the possibility to change > the value of a variable and/or function. > > Use case: When a JS is minified, sometimes the variables and > functions names are called things such as a, b, c, etc. which > makes it harder to read the code. > > What the feature does: If for example a function is called "a", > I can select it anywhere, somewhere in the code, rename it > "a_better_name" and it will change the value everywhere in the > code where it has been used. (it should warn if the name is > already taken). in https://groups.google.com/d/msg/mozilla.compatibility/otnw6r0FgRk/-Pf5-_anqYcJ Feeling this, because stumble upon jsnice. http://jsnice.org/ which specifically allows this feature. https://github.com/brettlangdon/jsnice The MIT License (MIT) Copyright (c) 2014 Brett Langdon
Comment 1•8 years ago
|
||
(In reply to Karl Dubost :karlcow from comment #0) > https://github.com/brettlangdon/jsnice > The MIT License (MIT) Copyright (c) 2014 Brett Langdon Note that the jsnice service itself appears to be closed source (AFAICT): http://www.srl.inf.ethz.ch/jsnice.php
Comment 2•8 years ago
|
||
This is a feature request. It would be nice to have, but isn't on top of our priority list at the moment. Assigning P3 to this for the time being.
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Blocks: devtools-webcompat-team
Updated•5 years ago
|
Updated•5 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•