UglifyJS/test/compress
kzc f496ac5c85 implement compress option computed_props (#2361)
transforms `{["computed"]: 1}` into `{computed: 1}`
2017-10-16 11:35:04 +08:00
..
arrays.js Merge branch 'master' into harmony-2.8.0 2017-02-27 04:37:48 +08:00
arrow.js add new compress option unsafe_methods for ecma >= 6 (#2325) 2017-09-20 00:15:54 +08:00
ascii.js don't escape null characters as \0 when followed by any digit (#2273) 2017-08-14 12:30:08 +08:00
asm.js fix "use asm" numeric output (#2328) 2017-09-21 04:42:40 +08:00
assignment.js implement optimization: (x = 2 * x) ---> (x *= 2) 2016-08-30 08:43:02 -04:00
async.js async arrow function IIFE fix (#2184) 2017-06-30 10:12:42 +08:00
block-scope.js Merge branch 'master' into harmony-v3.0.20 2017-06-25 16:43:44 +08:00
blocks.js fix block elimination (#2023) 2017-05-30 14:59:54 +08:00
collapse_vars.js Merge branch 'master' into harmony-v3.1.2 2017-09-24 02:20:47 +08:00
comparing.js Fix test262 failures related to <, <=, in and instanceof 2016-06-15 23:11:08 +02:00
concat-strings.js don't escape null characters as \0 when followed by any digit (#2273) 2017-08-14 12:30:08 +08:00
conditionals.js convert AST_Seq from binary tree to array (#1460) 2017-04-12 21:56:27 +08:00
const.js Revert "remove support for const (#1910)" 2017-05-15 18:38:16 +08:00
dead-code.js Merge branch 'master' into harmony-v3.1.0 2017-09-10 15:39:33 +08:00
debugger.js wrote more of the compressor and added some tests 2012-08-22 15:21:58 +03:00
destructuring.js prohibit let/const redeclaration (#2277) 2017-08-14 12:31:12 +08:00
directives.js Make classes implicitly strict mode 2016-10-17 20:24:38 +02:00
drop-console.js Add .gitattributes to checkout lf eol style 2017-02-21 13:29:58 +08:00
drop-unused.js Merge branch 'master' into harmony-v3.1.0 2017-09-10 15:39:33 +08:00
evaluate.js Merge branch 'master' into harmony-v3.0.25 2017-07-16 11:15:07 +08:00
expansions.js avoid generating ternary with spread (#2293) 2017-08-31 00:57:07 +08:00
export.js support dynamic import(), trap invalid use of export (#2335) 2017-09-28 18:43:09 +08:00
expression.js Merge branch 'master' into harmony-v2.8.21 2017-04-02 17:25:20 +08:00
functions.js Merge branch 'master' into harmony-v3.0.23 2017-07-02 17:47:21 +08:00
global_defs.js Merge branch 'master' into harmony-v3.0.24 2017-07-08 13:12:54 +08:00
harmony.js fix mangle of destructuring parameters with computed properties (#2359) 2017-10-15 20:59:52 +08:00
hoist_vars.js correctly count declarations after hoist_vars (#2297) 2017-09-03 17:23:31 +08:00
hoist.js Parse and compress destructuring VarDefs 2015-08-21 12:04:26 +02:00
html_comments.js Merge branch 'master' into harmony-v2.8.15 2017-03-23 15:28:17 +08:00
if_return.js fix if_return on block-scoped variables (#2021) 2017-05-29 18:08:08 +08:00
issue-12.js Allow operator names as getters/setters 2016-01-19 19:28:51 +01:00
issue-22.js fix for if (...) return; else return ...; 2012-10-24 09:33:32 +03:00
issue-44.js fix invalid AST produced by dropping unused variable 2012-11-12 13:23:57 +02:00
issue-59.js Add test for issue #59 2012-11-30 11:26:37 +02:00
issue-126.js Add a unit test for issue-126 2013-10-25 16:28:15 -04:00
issue-143.js Added test cases for #104. 2013-05-08 16:22:48 +03:00
issue-203.js Introduce new compress option unsafe_arrows (#2278) 2017-08-16 22:51:26 +08:00
issue-208.js Revert "remove support for const (#1910)" 2017-05-15 18:38:16 +08:00
issue-267.js Disallow reversal where lhs has higher or equal precedence 2013-10-29 21:37:36 +01:00
issue-269.js Fix faulty compression 2013-11-20 21:13:16 +02:00
issue-281.js improve inline efficiency (#2188) 2017-07-02 01:05:14 +08:00
issue-368.js fixup for #1553 (#1555) 2017-03-05 17:15:37 +08:00
issue-597.js improve compression of undefined, NaN & Infinitiy (#1748) 2017-04-01 03:02:14 +08:00
issue-611.js Replace the correct node when replacing in void sequences 2015-01-12 17:09:34 +01:00
issue-637.js Fix invalid removal of left side in && and || compression 2015-02-11 21:08:41 +01:00
issue-640.js convert AST_Seq from binary tree to array (#1460) 2017-04-12 21:56:27 +08:00
issue-747.js improve mangle.properties (#2261) 2017-07-29 23:02:04 +08:00
issue-751.js Don't attempt to negate non-boolean AST_Binary 2015-07-22 16:55:55 +03:00
issue-782.js preserve ThisBinding for side_effects 2016-02-17 19:34:01 +01:00
issue-892.js make expect_stdout work on Node.js 0.12 (#1623) 2017-03-19 12:00:32 +08:00
issue-913.js Fix hoisting the var in ForIn 2016-01-05 13:56:52 +02:00
issue-926.js Add test for bad template string parsing 2016-01-19 19:22:22 +01:00
issue-973.js make collapse_vars consistent with toplevel (#1608) 2017-03-16 13:22:26 +08:00
issue-976.js make expect_stdout work on Node.js 0.12 (#1623) 2017-03-19 12:00:32 +08:00
issue-979.js Improve optimizing function() { if(c){return foo} bar();} 2017-02-18 18:56:18 +08:00
issue-1001.js Fixes to prevent failing tests after merging master 2016-06-20 15:02:09 +02:00
issue-1034.js enhance passes (#2229) 2017-07-13 02:18:59 +08:00
issue-1041.js Revert "remove support for const (#1910)" 2017-05-15 18:38:16 +08:00
issue-1043.js Consider yield expressions as having side-effects 2016-04-13 14:39:49 +02:00
issue-1044.js Do not attempt evaluating class expressions 2016-04-19 20:01:26 +02:00
issue-1052.js Merge branch 'master' into harmony-v3.0.13 2017-05-29 10:58:05 +08:00
issue-1105.js improve compression of undefined, NaN & Infinitiy (#1748) 2017-04-01 03:02:14 +08:00
issue-1202.js fix top-level directives in compress tests (#1615) 2017-03-18 01:56:15 +08:00
issue-1212.js [ES6] Get compress and global_defs working for AST_Class 2016-07-17 19:56:02 +02:00
issue-1261.js Testing all leading comments against being PURE comments (#2305) 2017-09-10 02:08:15 +08:00
issue-1275.js make expect_stdout work on Node.js 0.12 (#1623) 2017-03-19 12:00:32 +08:00
issue-1321.js improve mangle.properties (#2261) 2017-07-29 23:02:04 +08:00
issue-1431.js fix corner case in keep_fnames 2017-02-18 19:00:54 +08:00
issue-1443.js improve unsafe on undefined (#1548) 2017-03-05 13:09:27 +08:00
issue-1446.js improve compress granularity through typeofs (#2201) 2017-07-05 19:20:33 +08:00
issue-1447.js make expect_stdout work on Node.js 0.12 (#1623) 2017-03-19 12:00:32 +08:00
issue-1466.js Merge branch 'master' into harmony-v3.0.20 2017-06-25 16:43:44 +08:00
issue-1569.js fix return from recursive IIFE (#1570) 2017-03-08 03:31:51 +08:00
issue-1588.js Revert "remove support for const (#1910)" 2017-05-15 18:38:16 +08:00
issue-1609.js enhance collapse_vars (#1862) 2017-05-06 16:15:43 +08:00
issue-1639.js fix assignment substitution in sequences (#1643) 2017-03-24 14:30:31 +08:00
issue-1656.js fix variable substitution (#1816) 2017-04-16 17:25:39 +08:00
issue-1673.js optimize try-catch-finally (#1731) 2017-03-30 12:16:58 +08:00
issue-1704.js unify CLI & API under minify() (#1811) 2017-04-15 23:50:50 +08:00
issue-1733.js unify CLI & API under minify() (#1811) 2017-04-15 23:50:50 +08:00
issue-1750.js fix corner case in switch (#1765) 2017-04-02 17:07:20 +08:00
issue-1770.js Merge branch 'master' into harmony 2017-07-30 01:57:34 +08:00
issue-1787.js implement function inlining (#2053) 2017-06-06 05:49:53 +08:00
issue-1833.js fix label-related bugs (#1835) 2017-04-22 22:15:04 +08:00
issue-1943.js fix parsing of property access after new line (#1944) 2017-05-16 05:40:49 +08:00
issue-2001.js Merge branch 'master' into harmony-v3.0.20 2017-06-25 16:43:44 +08:00
join-vars.js Only allow var definitions to be moved into the for-init clause 2016-05-15 21:00:51 +02:00
labels.js make expect_stdout work on Node.js 0.12 (#1623) 2017-03-19 12:00:32 +08:00
loops.js Merge branch 'master' into harmony-v3.0.24 2017-07-08 13:12:54 +08:00
max_line_len.js support multi-line string in tests (#1590) 2017-03-10 11:27:30 +08:00
negate-iife.js implement function inlining (#2053) 2017-06-06 05:49:53 +08:00
new.js Merge branch 'master' into harmony-v3.0.24 2017-07-08 13:12:54 +08:00
node_version.js allow expect_stdout to specify Error (#2087) 2017-06-13 04:57:26 +08:00
numbers.js improve compression of undefined, NaN & Infinitiy (#1748) 2017-04-01 03:02:14 +08:00
object.js implement compress option computed_props (#2361) 2017-10-16 11:35:04 +08:00
parameters.js prohibit let/const redeclaration (#2277) 2017-08-14 12:31:12 +08:00
properties.js allow RegExp for unsafe_methods compress option (#2327) 2017-09-21 00:48:16 +08:00
pure_funcs.js fix pure_funcs & improve side_effects 2017-02-21 13:31:59 +08:00
pure_getters.js handle AST_Super in collapse_vars & side_effects 2017-09-17 05:09:36 +08:00
reduce_vars.js add tests for #2336 & #2337 2017-10-01 13:20:17 +08:00
return_undefined.js return undefined optimization no longer uses return_void_0 option 2015-10-29 08:19:12 +01:00
sandbox.js fix portability of sandbox.run_code() on Node.js 0.1x (#2078) 2017-06-10 01:08:58 +08:00
screw-ie8.js fix ie8 mangling of top-level AST_SymbolCatch (#2263) 2017-08-01 02:38:32 +08:00
sequences.js Merge branch 'master' into harmony-v3.1.1 2017-09-17 04:43:43 +08:00
string-literal.js improve RegExp handling (#1959) 2017-05-17 20:10:50 +08:00
super.js Uglifyjs already supports super as an implicit global! Just adding a test to indicate that. 2015-08-05 11:49:37 +01:00
switch.js fix corner cases in switch and undefined (#1762) 2017-04-02 14:52:25 +08:00
template-string.js fix \\n and \\r in template strings (#1857) 2017-04-30 17:05:32 +08:00
transform.js fix expect_stdout (#1642) 2017-03-24 13:19:50 +08:00
try-catch.js Destructuring consistency fixes (#1417) 2017-02-24 08:49:19 +08:00
typeof.js fix typeof side-effects (#1669) 2017-03-25 17:40:18 +08:00
unicode.js fix for #2242 on harmony 2017-07-23 16:20:53 +08:00
wrap_iife.js Remove console.log and add extra test case 2016-10-06 14:11:32 +02:00
yield.js fix parsing of yield as object key (#1976) 2017-05-20 13:11:37 +08:00