UglifyJS/test/compress
Richard van Velzen 992b6b9fcc Fix invalid removal of left side in && and || compression
See #637. This does not produce the optimal result, but it does prevent the removal of non-side-effect-free code.
2015-02-11 21:08:41 +01:00
..
angular-inject.js added newline at the end of the file 2014-07-08 11:16:35 +02:00
arrays.js More attempts to determine when addition is associative 2013-09-22 15:26:10 +03:00
blocks.js minor 2012-08-27 11:00:26 +03:00
concat-strings.js More attempts to determine when addition is associative 2013-09-22 15:26:10 +03:00
conditionals.js Optimize conditionals where the consequent and alternative are both booleans and not equivalent 2015-01-13 18:27:21 +01:00
dead-code.js always keep declarations found in unreachable code 2012-09-07 15:18:32 +03:00
debugger.js wrote more of the compressor and added some tests 2012-08-22 15:21:58 +03:00
drop-console.js Drop all console statements properly 2015-01-31 13:24:44 +01:00
drop-unused.js Add a "keep_fnames" option to the compressor to retain function expression names 2015-01-04 20:14:38 +01:00
issue-12.js actually enable the option that drops unused names in the test of issue #12 2012-10-12 11:41:48 +03: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-105.js Better fix for equality of typeof ... against "undefined" 2013-05-08 16:22:48 +03: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-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-597.js Fix #597 2014-12-31 12:23:00 +01: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
labels.js more optimizations for some break/continue cases 2012-10-18 15:14:57 +03:00
loops.js optimization for if/break as first statement in a loop body 2012-11-08 11:43:14 +02:00
negate-iife.js Conditional/call optimization 2013-12-29 10:31:30 +02:00
properties.js Evaluate "foo".length ==> 3 2014-07-01 11:06:51 +03:00
sequences.js Referencing a global is assumed to have side effects. 2014-09-28 11:18:25 +03:00
switch.js Drop last default: if it's the last branch and empty 2013-03-01 13:12:03 +02:00
typeof.js Add tests for typeof evaluation 2013-04-03 22:34:19 -04:00
unicode.js Add test 2015-01-20 00:31:44 +01:00