UglifyJS/test/mocha
Chen Yangjian 396a26e362 Fix: make sure function name doesn't collide with argument names
Usually the function name is dropped if the function is a function expression. But when `ie8` option is enabled, the function name is kept and mangled which may break legacy Safari for said reason. Since symbol names are now [mangled from within](https://github.com/mishoo/UglifyJS2/pull/2948#issuecomment-368095376), this fix adds argument names to existing names when mangling the name of a function expression.
2018-08-08 19:30:04 +08:00
..
arguments.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
cli.js implement directives (#3203) 2018-06-28 18:16:49 +08:00
comments.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
directives.js implement directives (#3203) 2018-06-28 18:16:49 +08:00
getter-setter.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
glob.js implement directives (#3203) 2018-06-28 18:16:49 +08:00
ie8.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
let.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
line-endings.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
minify-file-map.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
minify.js implement directives (#3203) 2018-06-28 18:16:49 +08:00
number-literal.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
operator.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
parentheses.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
release.js refactor brackets to braces (#3005) 2018-03-15 15:46:45 +08:00
safari9.js Fix: make sure function name doesn't collide with argument names 2018-08-08 19:30:04 +08:00
sourcemaps.js implement directives (#3203) 2018-06-28 18:16:49 +08:00
spidermonkey.js implement directives (#3203) 2018-06-28 18:16:49 +08:00
string-literal.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
tokens.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00
with.js improve mocha tests (#3195) 2018-06-24 04:00:36 +08:00