From 0fdf0007f0a11ce5f0d3dd2ca8087650baf8dd44 Mon Sep 17 00:00:00 2001 From: Jean-Louis GUENEGO Date: Sat, 23 Sep 2017 15:52:23 +0200 Subject: [PATCH] blank line at the end --- jlg.sh | 4 + test/compress/harmony.js | 2 +- toto.txt | 1311 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 1316 insertions(+), 1 deletion(-) create mode 100644 jlg.sh create mode 100644 toto.txt diff --git a/jlg.sh b/jlg.sh new file mode 100644 index 00000000..515ebb9d --- /dev/null +++ b/jlg.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +#echo '(function() { class Foo {} Foo.bar; class Bar {} Bar.foo; })();' | ./bin/uglifyjs -m reserved=['Foo'],keep_classnames +echo '(function() { class Foo {} Foo.bar; class Bar {} Bar.foo;})();' | ./bin/uglifyjs -m reserved=['Foo'] diff --git a/test/compress/harmony.js b/test/compress/harmony.js index c80a1240..5891ee43 100644 --- a/test/compress/harmony.js +++ b/test/compress/harmony.js @@ -839,4 +839,4 @@ class_name_can_be_preserved_with_reserved: { a.bar() } } -} \ No newline at end of file +} diff --git a/toto.txt b/toto.txt new file mode 100644 index 00000000..2381f54d --- /dev/null +++ b/toto.txt @@ -0,0 +1,1311 @@ + +> uglify-es@3.1.1 test D:\repos\UglifyJS2 +> node test/run-tests.js + +*** Entering [compress] +--- arrays.js + Running test [holes_and_undefined] + Running test [constant_join] + Running test [constant_join_2] + Running test [spread_with_variable_as_last_element] + Running test [spread_with_variable_in_middle] + Running test [spread_with_variable_at_front] + Running test [spread_with_variable_at_front_after_elisions] + Running test [spread_with_array_at_end] + Running test [spread_with_logical_expression_at_end] + Running test [spread_with_logical_expression_at_middle] + Running test [constant_join_3] + Running test [for_loop] +--- arrow.js + Running test [arrow_functions_without_body] + Running test [arrow_functions_with_body] + Running test [arrow_function_with_single_parameter_with_default] + Running test [arrow_binding_pattern] + Running test [arrow_binding_pattern_strict] + Running test [arrow_with_regexp] + Running test [arrow_unused] + Running test [arrow_unused_toplevel] + Running test [no_leading_parentheses] + Running test [async_identifiers] + Running test [async_function_expression] + Running test [issue_27] + Running test [issue_2105_1] + Running test [issue_2105_2] + Running test [issue_2136_2] + Running test [issue_2136_3] + Running test [call_args] + Running test [call_args_drop_param] + Running test [issue_485_crashing_1530] + Running test [issue_2084] + Running test [export_default_object_expression] + Running test [concise_methods_with_computed_property2] + Running test [async_object_literal] + Running test [issue_2271] +--- ascii.js + Running test [ascii_only_true] + Running test [ascii_only_false] +--- asm.js + Running test [asm_mixed] +--- assignment.js + Running test [op_equals_left_local_var] + Running test [op_equals_right_local_var] + Running test [op_equals_left_global_var] + Running test [op_equals_right_global_var] +--- async.js + Running test [await_precedence] + Running test [await_precedence_prop] + Running test [await_precedence_call] + Running test [async_function_declaration] + Running test [async_function_expression] + Running test [async_class] + Running test [async_object_literal] + Running test [async_export] + Running test [async_inline] + Running test [async_identifiers] + Running test [async_shorthand_property] + Running test [async_arrow] + Running test [async_arrow_wait] + Running test [async_arrow_iife] + Running test [async_arrow_iife_negate_iife] +--- block-scope.js + Running test [let_statement] + Running test [do_not_hoist_let] + Running test [do_not_remove_anon_blocks_if_they_have_decls] + Running test [remove_unused_in_global_block] + Running test [regression_block_scope_resolves] + Running test [switch_block_scope_mangler] +--- blocks.js + Running test [remove_blocks] + Running test [keep_some_blocks] + Running test [issue_1664] + Running test [issue_1672_for] + Running test [issue_1672_for_strict] + Running test [issue_1672_if] + Running test [issue_1672_if_strict] +--- collapse_vars.js + Running test [collapse_vars_side_effects_1] + Running test [collapse_vars_side_effects_2] + Running test [collapse_vars_issue_721] + Running test [collapse_vars_properties] + Running test [collapse_vars_if] + Running test [collapse_vars_while] + Running test [collapse_vars_do_while] + Running test [collapse_vars_do_while_drop_assign] + Running test [collapse_vars_seq] + Running test [collapse_vars_throw] + Running test [collapse_vars_switch] + Running test [collapse_vars_assignment] + Running test [collapse_vars_lvalues] + Running test [collapse_vars_lvalues_drop_assign] + Running test [collapse_vars_misc1] + Running test [collapse_vars_self_reference] + Running test [collapse_vars_repeated] + Running test [collapse_vars_closures] + Running test [collapse_vars_unary] + Running test [collapse_vars_try] + Running test [collapse_vars_array] + Running test [collapse_vars_object] + Running test [collapse_vars_eval_and_with] + Running test [collapse_vars_constants] + Running test [collapse_vars_arguments] + Running test [collapse_vars_short_circuit] + Running test [collapse_vars_short_circuited_conditions] + Running test [collapse_vars_regexp] + Running test [issue_1537] + Running test [issue_1537_for_of] + Running test [issue_1537_destructuring_1] + Running test [issue_1537_destructuring_2] + Running test [issue_1537_destructuring_3] + Running test [issue_1537_destructuring_for_in] + Running test [issue_1537_destructuring_for_of] + Running test [issue_1562] + Running test [issue_1605_1] + Running test [issue_1605_2] + Running test [issue_1631_1] + Running test [issue_1631_2] + Running test [issue_1631_3] + Running test [var_side_effects_1] + Running test [var_side_effects_2] + Running test [var_side_effects_3] + Running test [reduce_vars_assign] + Running test [iife_1] + Running test [iife_2] + Running test [var_defs] + Running test [assignment] + Running test [for_init] + Running test [switch_case] + Running test [issue_27] + Running test [modified] + Running test [issue_1858] + Running test [anonymous_function] + Running test [side_effects_property] + Running test [undeclared] + Running test [ref_scope] + Running test [chained_1] + Running test [chained_2] + Running test [chained_3] + Running test [boolean_binary_1] + Running test [boolean_binary_2] + Running test [inner_lvalues] + Running test [double_def] + Running test [toplevel_single_reference] + Running test [unused_orig] + Running test [issue_315] + Running test [lvalues_def] + Running test [compound_assignment] + Running test [reassign_const_1] + Running test [reassign_const_2] + Running test [issue_2187_1] + Running test [issue_2187_2] + Running test [issue_2187_3] + Running test [issue_2203_1] + Running test [issue_2203_2] + Running test [issue_2203_3] + Running test [issue_2203_4] + Running test [duplicate_argname] + Running test [issue_2250_1] + Running test [issue_2250_2] + Running test [issue_2298] + Running test [issue_2313_1] + Running test [issue_2313_2] +--- comparing.js + Running test [keep_comparisons] + Running test [keep_comparisons_with_unsafe_comps] + Running test [dont_change_in_or_instanceof_expressions] +--- concat-strings.js + Running test [concat_1] + Running test [concat_2] + Running test [concat_3] + Running test [concat_4] + Running test [concat_5] + Running test [concat_6] + Running test [concat_7] + Running test [concat_8] +--- conditionals.js + Running test [ifs_1] + Running test [ifs_2] + Running test [ifs_3_should_warn] + Running test [ifs_4] + Running test [ifs_5] + Running test [ifs_6] + Running test [cond_1] + Running test [cond_2] + Running test [cond_3] + Running test [cond_4] + Running test [cond_5] + Running test [cond_7] + Running test [cond_7_1] + Running test [cond_8] + Running test [cond_8b] + Running test [cond_8c] + Running test [ternary_boolean_consequent] + Running test [ternary_boolean_alternative] + Running test [trivial_boolean_ternary_expressions] + Running test [issue_1154] + Running test [no_evaluate] + Running test [equality_conditionals_false] + Running test [equality_conditionals_true] + Running test [issue_1645_1] + Running test [issue_1645_2] + Running test [condition_symbol_matches_consequent] + Running test [delete_conditional_1] + Running test [delete_conditional_2] +--- const.js + Running test [issue_1191] + Running test [issue_1194] + Running test [issue_1396] + Running test [unused_regexp_literal] + Running test [regexp_literal_not_const] +--- dead-code.js + Running test [dead_code_1] + Running test [dead_code_2_should_warn] + Running test [dead_code_2_should_warn_strict] + Running test [dead_code_constant_boolean_should_warn_more] + Running test [dead_code_constant_boolean_should_warn_more_strict] + Running test [dead_code_block_decls_die] + Running test [dead_code_const_declaration] + Running test [dead_code_const_annotation] + Running test [dead_code_const_annotation_regex] + Running test [dead_code_const_annotation_complex_scope] + Running test [try_catch_finally] + Running test [accessor] + Running test [issue_2233_1] + Running test [global_timeout_and_interval_symbols] + Running test [issue_2233_2] + Running test [issue_2233_3] + Running test [global_fns] +--- debugger.js + Running test [keep_debugger] + Running test [drop_debugger] +--- destructuring.js + Running test [destructuring_arrays] + Running test [destructuring_arrays_holes] + Running test [destructuring_objects] + Running test [destructuring_objects_trailing_elision] + Running test [nested_destructuring_objects] + Running test [destructuring_constdef_in_loops] + Running test [destructuring_letdef_in_loops] + Running test [destructuring_vardef_in_loops] + Running test [destructuring_expressions] + Running test [destructuring_remove_unused_1] + Running test [destructuring_remove_unused_2] + Running test [object_destructuring_may_need_parentheses] + Running test [destructuring_with_undefined_as_default_assignment] + Running test [destructuring_dont_evaluate_with_undefined_as_default_assignment] + Running test [reduce_vars] + Running test [unused] + Running test [issue_1886] + Running test [destructuring_decl_of_numeric_key] + Running test [destructuring_decl_of_computed_key] + Running test [destructuring_assign_of_numeric_key] + Running test [destructuring_assign_of_computed_key] + Running test [mangle_destructuring_decl] + Running test [mangle_destructuring_assign_toplevel_true] + Running test [mangle_destructuring_assign_toplevel_false] + Running test [mangle_destructuring_decl_array] + Running test [anon_func_with_destructuring_args] + Running test [arrow_func_with_destructuring_args] + Running test [issue_2044_ecma_5] + Running test [issue_2044_ecma_6] + Running test [issue_2044_ecma_5_beautify] + Running test [issue_2044_ecma_6_beautify] + Running test [issue_2140] +--- directives.js + Running test [class_directives_compression] +--- drop-console.js + Running test [drop_console_1] + Running test [drop_console_2] +--- drop-unused.js + Running test [unused_funarg_1] + Running test [unused_funarg_2] + Running test [unused_nested_function] + Running test [unused_circular_references_1] + Running test [unused_circular_references_2] + Running test [unused_circular_references_3] + Running test [unused_keep_setter_arg] + Running test [unused_var_in_catch] + Running test [used_var_in_catch] + Running test [unused_block_decls_in_catch] + Running test [used_block_decls_in_catch] + Running test [unused_block_decls] + Running test [unused_keep_harmony_destructuring] + Running test [keep_fnames] + Running test [drop_assign] + Running test [keep_assign] + Running test [drop_toplevel_funcs] + Running test [drop_toplevel_vars] + Running test [drop_toplevel_vars_fargs] + Running test [drop_toplevel_all] + Running test [drop_toplevel_retain] + Running test [drop_toplevel_retain_array] + Running test [drop_toplevel_retain_regex] + Running test [drop_toplevel_all_retain] + Running test [drop_toplevel_funcs_retain] + Running test [drop_toplevel_vars_retain] + Running test [drop_toplevel_keep_assign] + Running test [drop_fargs] + Running test [drop_fnames] + Running test [global_var] + Running test [iife] + Running test [drop_value] + Running test [const_assign] + Running test [issue_1539] + Running test [vardef_value] + Running test [assign_binding] + Running test [assign_chain] + Running test [issue_1583] + Running test [issue_1656] + Running test [issue_1709] + Running test [issue_1715_1] + Running test [issue_1715_2] + Running test [issue_1715_3] + Running test [issue_1715_4] + Running test [delete_assign_1] + Running test [delete_assign_2] + Running test [drop_var] + Running test [issue_1830_1] + Running test [issue_1830_2] + Running test [issue_1838] + Running test [var_catch_toplevel] + Running test [reassign_const] + Running test [issue_1968] + Running test [issue_2063] + Running test [issue_2105] + Running test [issue_2136_1] + Running test [issue_2136_2] + Running test [issue_2136_3] + Running test [issue_2163] + Running test [issue_2226_1] + Running test [issue_2226_2] + Running test [issue_2226_3] + Running test [issue_2288] +--- evaluate.js + Running test [and] + Running test [or] + Running test [unary_prefix] + Running test [negative_zero] + Running test [positive_zero] + Running test [pow] + Running test [pow_sequence] + Running test [pow_mixed] + Running test [pow_with_right_side_evaluating_to_unary] + Running test [pow_with_number_constants] + Running test [unsafe_constant] + Running test [unsafe_object] + Running test [unsafe_object_nested] + Running test [unsafe_object_complex] + Running test [unsafe_object_repeated] + Running test [unsafe_object_accessor] + Running test [unsafe_function] + Running test [unsafe_integer_key] + Running test [unsafe_integer_key_complex] + Running test [unsafe_float_key] + Running test [unsafe_float_key_complex] + Running test [unsafe_array] + Running test [unsafe_string] + Running test [unsafe_array_bad_index] + Running test [unsafe_string_bad_index] + Running test [unsafe_prototype_function] + Running test [call_args] + Running test [call_args_drop_param] + Running test [in_boolean_context] + Running test [unsafe_charAt] + Running test [unsafe_charAt_bad_index] + Running test [unsafe_charAt_noop] + Running test [issue_1649] + Running test [issue_1760_1] + Running test [issue_1760_2] + Running test [delete_expr_1] + Running test [delete_expr_2] + Running test [delete_binary_1] + Running test [delete_binary_2] + Running test [Infinity_NaN_undefined_LHS] + Running test [issue_1964_1] + Running test [issue_1964_2] + Running test [array_slice_index] + Running test [string_charCodeAt] + Running test [issue_2207_1] + Running test [issue_2207_2] + Running test [issue_2207_3] + Running test [issue_2231_1] + Running test [issue_2231_2] +--- expansions.js + Running test [expand_arguments] + Running test [expand_expression_arguments] + Running test [expand_parameters] + Running test [avoid_spread_in_ternary] +--- export.js + Running test [issue_2038_1] + Running test [issue_2038_2] + Running test [issue_2126] + Running test [beautify] + Running test [issue_2131] + Running test [issue_2129] + Running test [async_func] + Running test [issue_2134_1] + Running test [issue_2134_2] + Running test [redirection] + Running test [keyword_invalid_1] + Running test [keyword_invalid_2] + Running test [keyword_invalid_3] + Running test [keyword_valid_1] + Running test [keyword_valid_2] + Running test [keyword_valid_3] +--- expression.js + Running test [pow] + Running test [pow_with_number_constants] + Running test [pow_with_parentheses] + Running test [pow_with_unary_between_brackets] +--- functions.js + Running test [non_ascii_function_identifier_name] + Running test [iifes_returning_constants_keep_fargs_true] + Running test [iifes_returning_constants_keep_fargs_false] + Running test [issue_485_crashing_1530] + Running test [issue_1841_1] + Running test [issue_1841_2] + Running test [function_returning_constant_literal] + Running test [hoist_funs] + Running test [hoist_funs_strict] + Running test [issue_203] + Running test [no_webkit] + Running test [webkit] + Running test [issue_2084] + Running test [issue_2097] + Running test [issue_2101] + Running test [inner_ref] + Running test [issue_2107] + Running test [issue_2114_1] + Running test [issue_2114_2] +--- global_defs.js + Running test [must_replace] + Running test [keyword] + Running test [object] + Running test [expanded] + Running test [mixed] + Running test [issue_1801] + Running test [issue_1986] + Running test [issue_2167] +--- harmony.js + Running test [arrow_function_parens] + Running test [arrow_function_parens_2] + Running test [typeof_arrow_functions] + Running test [classes] + Running test [class_statics] + Running test [class_name_can_be_mangled] + Running test [class_name_can_be_preserved] + Running test [classes_can_have_generators] + Running test [classes_can_have_computed_generators] + Running test [classes_can_have_computed_static] + Running test [class_methods_and_getters_with_keep_quoted_props_enabled] + Running test [classes_with_expression_as_expand] + Running test [new_target] + Running test [number_literals] + Running test [import_statement] + Running test [import_all_statement] + Running test [export_statement] + Running test [export_default_object_expression] + Running test [export_default_array] + Running test [export_default_anon_function] + Running test [export_default_anon_class] + Running test [export_module_statement] + Running test [import_statement_mangling] + Running test [export_statement_mangling] + Running test [regression_for_of_const] + Running test [regression_cannot_destructure] + Running test [regression_cannot_use_of] + Running test [fat_arrow_as_param] + Running test [default_assign] + Running test [expansion] + Running test [issue_1613] + Running test [format_methods] + Running test [issue_1898] + Running test [issue_1753] + Running test [issue_1753_disable] + Running test [class_extends] + Running test [class_extends_class] + Running test [class_extends_function] + Running test [class_extends_regex] + Running test [issue_2028] + Running test [class_expression_statement] + Running test [class_expression_statement_unused] + Running test [class_expression_statement_unused_toplevel] + Running test [export_default_function_decl] + Running test [export_default_class_decl] + Running test [object_rest_spread] + Running test [object_spread_unsafe] + Running test [array_spread_of_sequence] + Running test [object_spread_of_sequence] + Running test [class_name_can_be_preserved_with_reserved] +!!! failed +---INPUT--- +{ + function x() { + class Foo {} + Foo.bar; + class Bar {} + Bar.foo; + } + function y() { + var Foo = class Foo {}; + Foo.bar(); + var Bar = class Bar {}; + Bar.bar(); + } +} +---OUTPUT--- +function x(){class Foo{}Foo.bar;class a{}a.foo}function y(){var Foo=class Foo{};Foo.bar();var a=class a{};a.bar()} +---EXPECTED--- +function x(){class Foo{}Foo.bar;class s{}s.foo}function y(){var Foo=class Foo{};Foo.bar();var Bar=class Bar{};Bar.bar()} + + +--- hoist.js + Running test [hoist_vars] + Running test [hoist_funs] + Running test [hoist_no_destructurings] + Running test [dont_hoist_var_destructurings] +--- hoist_vars.js + Running test [statements] + Running test [statements_funs] + Running test [sequences] + Running test [sequences_funs] + Running test [issue_2295] +--- html_comments.js + Running test [html_comment_in_expression] + Running test [html_comment_in_less_than] + Running test [html_comment_in_left_shift] + Running test [html_comment_in_right_shift] + Running test [html_comment_in_zero_fill_right_shift] + Running test [html_comment_in_greater_than] + Running test [html_comment_in_greater_than_or_equal] + Running test [html_comment_in_string_literal] + Running test [html_comment_after_multiline_comment] +--- if_return.js + Running test [if_return_1] + Running test [if_return_2] + Running test [if_return_3] + Running test [if_return_4] + Running test [if_return_5] + Running test [if_return_6] + Running test [if_return_7] + Running test [if_return_8] + Running test [issue_1089] + Running test [issue_1437] + Running test [issue_1437_conditionals] + Running test [issue_512] + Running test [issue_1317] + Running test [issue_1317_strict] +--- issue-1001.js + Running test [parenthesis_strings_in_parenthesis] +--- issue-1034.js + Running test [non_hoisted_function_after_return] + Running test [non_hoisted_function_after_return_2a] + Running test [non_hoisted_function_after_return_2b] + Running test [non_hoisted_function_after_return_strict] + Running test [non_hoisted_function_after_return_2a_strict] + Running test [non_hoisted_function_after_return_2b_strict] +--- issue-1041.js + Running test [const_declaration] + Running test [const_pragma] + Running test [not_const] +--- issue-1043.js + Running test [issue_1043] +--- issue-1044.js + Running test [issue_1044] +--- issue-1052.js + Running test [multiple_functions] + Running test [single_function] + Running test [deeply_nested] + Running test [not_hoisted_when_already_nested] + Running test [defun_if_return] + Running test [defun_hoist_funs] + Running test [defun_else_if_return] +--- issue-1105.js + Running test [with_in_global_scope] + Running test [with_in_function_scope] + Running test [compress_with_with_in_other_scope] + Running test [with_using_existing_variable_outside_scope] + Running test [check_drop_unused_in_peer_function] + Running test [Infinity_not_in_with_scope] + Running test [Infinity_in_with_scope] + Running test [assorted_Infinity_NaN_undefined_in_with_scope] + Running test [assorted_Infinity_NaN_undefined_in_with_scope_keep_infinity] +--- issue-12.js + Running test [keep_name_of_getter] + Running test [keep_name_of_setter] + Running test [setter_with_operator_keys] +--- issue-1202.js + Running test [mangle_keep_fnames_false] + Running test [mangle_keep_fnames_true] +--- issue-1212.js + Running test [issue_1212_debug_false] + Running test [issue_1212_debug_true] +--- issue-126.js + Running test [concatenate_rhs_strings] +--- issue-1261.js + Running test [pure_function_calls] + Running test [pure_function_calls_toplevel] + Running test [should_warn] +--- issue-1275.js + Running test [string_plus_optimization] +--- issue-1321.js + Running test [issue_1321_no_debug] + Running test [issue_1321_debug] + Running test [issue_1321_with_quoted] +--- issue-143.js + Running test [tranformation_sort_order_equal] + Running test [tranformation_sort_order_unequal] + Running test [tranformation_sort_order_lesser_or_equal] + Running test [tranformation_sort_order_greater_or_equal] +--- issue-1431.js + Running test [level_zero] + Running test [level_one] + Running test [level_two] + Running test [level_three] +--- issue-1443.js + Running test [unsafe_undefined] + Running test [keep_fnames] +--- issue-1446.js + Running test [typeof_eq_undefined] + Running test [typeof_eq_undefined_ie8] + Running test [undefined_redefined] + Running test [undefined_redefined_mangle] +--- issue-1447.js + Running test [else_with_empty_block] + Running test [else_with_empty_statement] + Running test [conditional_false_stray_else_in_loop] +--- issue-1466.js + Running test [same_variable_in_multiple_for_loop] + Running test [same_variable_in_multiple_forOf] + Running test [same_variable_in_multiple_forIn] + Running test [different_variable_in_multiple_for_loop] + Running test [different_variable_in_multiple_forOf] + Running test [different_variable_in_multiple_forIn] + Running test [more_variable_in_multiple_for] +--- issue-1569.js + Running test [inner_reference] +--- issue-1588.js + Running test [screw_ie8] + Running test [support_ie8] + Running test [safe_undefined] + Running test [unsafe_undefined] + Running test [runtime_error] +--- issue-1609.js + Running test [chained_evaluation_1] + Running test [chained_evaluation_2] +--- issue-1639.js + Running test [issue_1639_1] + Running test [issue_1639_2] + Running test [issue_1639_3] +--- issue-1656.js + Running test [f7] +--- issue-1673.js + Running test [side_effects_catch] + Running test [side_effects_else] + Running test [side_effects_finally] + Running test [side_effects_label] + Running test [side_effects_switch] +--- issue-1704.js + Running test [mangle_catch] + Running test [mangle_catch_ie8] + Running test [mangle_catch_var] + Running test [mangle_catch_var_ie8] + Running test [mangle_catch_toplevel] + Running test [mangle_catch_ie8_toplevel] + Running test [mangle_catch_var_toplevel] + Running test [mangle_catch_var_ie8_toplevel] + Running test [mangle_catch_redef_1] + Running test [mangle_catch_redef_1_ie8] + Running test [mangle_catch_redef_1_toplevel] + Running test [mangle_catch_redef_1_ie8_toplevel] + Running test [mangle_catch_redef_2] + Running test [mangle_catch_redef_2_ie8] + Running test [mangle_catch_redef_2_toplevel] + Running test [mangle_catch_redef_2_ie8_toplevel] +--- issue-1733.js + Running test [function_iife_catch] + Running test [function_iife_catch_ie8] + Running test [function_catch_catch] + Running test [function_catch_catch_ie8] +--- issue-1750.js + Running test [case_1] + Running test [case_2] +--- issue-1770.js + Running test [mangle_props] + Running test [numeric_literal] +--- issue-1787.js + Running test [unary_prefix] +--- issue-1833.js + Running test [iife_for] + Running test [iife_for_in] + Running test [iife_do] + Running test [iife_while] + Running test [label_do] + Running test [label_while] +--- issue-1943.js + Running test [operator] + Running test [name] + Running test [keyword] + Running test [atom] +--- issue-2001.js + Running test [export_func_1] + Running test [export_func_2] + Running test [export_func_3] + Running test [export_default_func_1] + Running test [export_default_func_2] + Running test [export_default_func_3] + Running test [export_class_1] + Running test [export_class_2] + Running test [export_class_3] + Running test [export_default_class_1] + Running test [export_default_class_2] + Running test [export_default_class_3] + Running test [export_mangle_1] + Running test [export_mangle_2] + Running test [export_mangle_3] + Running test [export_mangle_4] + Running test [export_mangle_5] + Running test [export_mangle_6] + Running test [export_toplevel_1] + Running test [export_toplevel_2] + Running test [export_default_func_ref] +--- issue-203.js + Running test [compress_new_function] + Running test [compress_new_function_with_destruct] + Running test [compress_new_function_with_destruct_arrows] +--- issue-208.js + Running test [do_not_update_lhs] + Running test [do_update_rhs] + Running test [mixed] +--- issue-22.js + Running test [return_with_no_value_in_if_body] +--- issue-267.js + Running test [issue_267] +--- issue-269.js + Running test [issue_269_1] + Running test [issue_269_dangers] + Running test [issue_269_in_scope] + Running test [strings_concat] +--- issue-281.js + Running test [collapse_vars_constants] + Running test [modified] + Running test [ref_scope] + Running test [safe_undefined] + Running test [negate_iife_3] + Running test [negate_iife_3_off] + Running test [negate_iife_4] + Running test [negate_iife_5] + Running test [negate_iife_5_off] + Running test [issue_1254_negate_iife_true] + Running test [issue_1254_negate_iife_nested] + Running test [negate_iife_issue_1073] + Running test [issue_1288_side_effects] + Running test [inner_var_for_in_1] + Running test [issue_1595_3] + Running test [issue_1758] + Running test [wrap_iife] + Running test [wrap_iife_in_expression] + Running test [wrap_iife_in_return_call] + Running test [pure_annotation_1] + Running test [pure_annotation_2] + Running test [drop_fargs] + Running test [keep_fargs] +--- issue-368.js + Running test [collapse] +--- issue-44.js + Running test [issue_44_valid_ast_1] + Running test [issue_44_valid_ast_2] +--- issue-59.js + Running test [keep_continue] +--- issue-597.js + Running test [NaN_and_Infinity_must_have_parens] + Running test [NaN_and_Infinity_should_not_be_replaced_when_they_are_redefined] + Running test [NaN_and_Infinity_must_have_parens_evaluate] + Running test [NaN_and_Infinity_should_not_be_replaced_when_they_are_redefined_evaluate] + Running test [beautify_off_1] + Running test [beautify_off_2] + Running test [beautify_on_1] + Running test [beautify_on_2] + Running test [issue_1724] + Running test [issue_1725] +--- issue-611.js + Running test [issue_611] +--- issue-637.js + Running test [wrongly_optimized] +--- issue-640.js + Running test [cond_5] + Running test [dead_code_const_annotation_regex] + Running test [drop_console_2] + Running test [drop_value] + Running test [wrongly_optimized] + Running test [negate_iife_1] + Running test [negate_iife_3] + Running test [negate_iife_3_off] + Running test [negate_iife_4] + Running test [negate_iife_5] + Running test [negate_iife_5_off] + Running test [issue_1254_negate_iife_true] + Running test [issue_1254_negate_iife_nested] + Running test [conditional] + Running test [limit_1] + Running test [iife] +--- issue-747.js + Running test [dont_reuse_prop] + Running test [unmangleable_props_should_always_be_reserved] +--- issue-751.js + Running test [negate_booleans_1] + Running test [negate_booleans_2] +--- issue-782.js + Running test [remove_redundant_sequence_items] + Running test [dont_remove_this_binding_sequence] +--- issue-892.js + Running test [dont_mangle_arguments] +--- issue-913.js + Running test [keep_var_for_in] +--- issue-926.js + Running test [template_strings] +--- issue-973.js + Running test [this_binding_conditionals] + Running test [this_binding_collapse_vars] + Running test [this_binding_side_effects] +--- issue-976.js + Running test [eval_collapse_vars] + Running test [eval_unused] + Running test [eval_mangle] +--- issue-979.js + Running test [issue979_reported] + Running test [issue979_test_negated_is_best] +--- join-vars.js + Running test [only_vars] + Running test [issue_1079_with_vars] + Running test [issue_1079_with_mixed] +--- labels.js + Running test [labels_1] + Running test [labels_2] + Running test [labels_3] + Running test [labels_4] + Running test [labels_5] + Running test [labels_6] + Running test [labels_7] + Running test [labels_8] + Running test [labels_9] + Running test [labels_10] +--- loops.js + Running test [while_becomes_for] + Running test [drop_if_break_1] + Running test [drop_if_break_2] + Running test [drop_if_break_3] + Running test [drop_if_break_4] + Running test [drop_if_else_break_1] + Running test [drop_if_else_break_2] + Running test [drop_if_else_break_3] + Running test [drop_if_else_break_4] + Running test [parse_do_while_with_semicolon] + Running test [parse_do_while_without_semicolon] + Running test [keep_collapse_const_in_own_block_scope] + Running test [keep_collapse_const_in_own_block_scope_2] + Running test [evaluate] + Running test [issue_1532] + Running test [issue_186] + Running test [issue_186_ie8] + Running test [issue_186_beautify] + Running test [issue_186_beautify_ie8] + Running test [issue_186_bracketize] + Running test [issue_186_bracketize_ie8] + Running test [issue_186_beautify_bracketize] + Running test [issue_186_beautify_bracketize_ie8] + Running test [issue_1648] + Running test [do_switch] + Running test [in_parenthesis_1] + Running test [in_parenthesis_2] +--- max_line_len.js + Running test [too_short] + Running test [just_enough] +--- negate-iife.js + Running test [negate_iife_1] + Running test [negate_iife_1_off] + Running test [negate_iife_2] + Running test [negate_iife_2_side_effects] + Running test [negate_iife_3] + Running test [negate_iife_3_evaluate] + Running test [negate_iife_3_side_effects] + Running test [negate_iife_3_off] + Running test [negate_iife_3_off_evaluate] + Running test [negate_iife_4] + Running test [sequence_off] + Running test [negate_iife_5] + Running test [negate_iife_5_off] + Running test [negate_iife_nested] + Running test [negate_iife_nested_off] + Running test [negate_iife_issue_1073] + Running test [issue_1254_negate_iife_false] + Running test [issue_1254_negate_iife_true] + Running test [issue_1254_negate_iife_nested] + Running test [issue_1288] + Running test [issue_1288_side_effects] +--- new.js + Running test [new_statement] + Running test [new_statements_2] + Running test [new_statements_3] + Running test [new_with_rewritten_true_value] + Running test [new_with_many_parameters] + Running test [new_constructor_with_unary_arguments] + Running test [call_with_unary_arguments] + Running test [new_with_unary_prefix] + Running test [new_with_assignement_expression] + Running test [dot_parenthesis_1] + Running test [dot_parenthesis_2] +--- node_version.js + Running test [eval_let_6] + Running test [eval_let_4] + Running test [eval_let_0] +--- numbers.js + Running test [hex_numbers_in_parentheses_for_prototype_functions] + Running test [comparisons] + Running test [evaluate_1] + Running test [evaluate_2] + Running test [evaluate_3] + Running test [evaluate_4] + Running test [issue_1710] + Running test [unary_binary_parenthesis] +--- object.js + Running test [getter_setter] + Running test [getter_setter_mangler] + Running test [use_shorthand_opportunity] + Running test [computed_property_names] + Running test [computed_property_names_evaluated_1] + Running test [computed_property_names_evaluated_2] + Running test [shorthand_properties] + Running test [concise_methods] + Running test [concise_methods_with_computed_property] + Running test [concise_methods_with_computed_property2] + Running test [concise_methods_with_various_property_names] + Running test [concise_methods_and_mangle_props] + Running test [concise_generators] + Running test [concise_methods_and_keyword_names] + Running test [getter_setter_with_computed_value] + Running test [property_with_operator_value] + Running test [property_with_unprintable] + Running test [property_with_unprintable_ascii_only] + Running test [property_with_unprintable_ascii_only_static] + Running test [methods_and_getters_with_keep_quoted_props_enabled] + Running test [allow_assignments_to_property_values] + Running test [variable_as_computed_property] + Running test [prop_func_to_concise_method] + Running test [prop_arrow_to_concise_method] + Running test [concise_method_to_prop_arrow] + Running test [prop_func_to_async_concise_method] + Running test [prop_func_to_concise_method_various] + Running test [prop_arrows_to_concise_method_various] + Running test [prop_arrow_with_this] + Running test [prop_arrow_with_nested_this] +--- parameters.js + Running test [arrow_functions] + Running test [arrow_return] + Running test [regression_arrow_functions_and_hoist] + Running test [regression_assign_arrow_functions] + Running test [destructuring_arguments_1] + Running test [destructuring_arguments_2] + Running test [destructuring_arguments_3] + Running test [default_arguments] + Running test [default_values_in_destructurings] + Running test [accept_duplicated_parameters_in_non_strict_without_spread_or_default_assignment] +--- properties.js + Running test [keep_properties] + Running test [dot_properties] + Running test [dot_properties_es5] + Running test [sub_properties] + Running test [evaluate_array_length] + Running test [evaluate_string_length] + Running test [mangle_properties] + Running test [mangle_unquoted_properties] + Running test [mangle_debug] + Running test [mangle_debug_true] + Running test [mangle_debug_suffix] + Running test [mangle_debug_suffix_keep_quoted] + Running test [first_256_chars_as_properties] + Running test [first_256_unicode_chars_as_properties] + Running test [first_256_hex_chars_as_properties] + Running test [native_prototype] + Running test [accessor_boolean] + Running test [accessor_get_set] + Running test [accessor_null_undefined] + Running test [accessor_number] + Running test [accessor_string] + Running test [accessor_this] + Running test [issue_2208_1] + Running test [issue_2208_2] + Running test [issue_2208_3] + Running test [issue_2208_4] + Running test [issue_2208_5] + Running test [issue_2208_6] + Running test [issue_2208_7] + Running test [issue_2208_8] + Running test [issue_2208_9] + Running test [methods_keep_quoted_true] + Running test [methods_keep_quoted_false] + Running test [methods_keep_quoted_from_dead_code] + Running test [issue_2256] +--- pure_funcs.js + Running test [array] + Running test [func] + Running test [side_effects] + Running test [unused] + Running test [babel] + Running test [conditional] + Running test [relational] + Running test [arithmetic] + Running test [boolean_and] + Running test [boolean_or] + Running test [assign] + Running test [unary] +--- pure_getters.js + Running test [strict] + Running test [strict_reduce_vars] + Running test [unsafe] + Running test [unsafe_reduce_vars] + Running test [chained] + Running test [impure_getter_1] + Running test [impure_getter_2] + Running test [issue_2110_1] + Running test [issue_2110_2] + Running test [set_immutable_1] + Running test [set_immutable_2] + Running test [set_immutable_3] + Running test [set_immutable_4] + Running test [set_mutable_1] + Running test [set_mutable_2] + Running test [issue_2265_1] + Running test [issue_2265_2] + Running test [issue_2265_3] + Running test [issue_2265_4] + Running test [issue_2313_1] + Running test [issue_2313_2] + Running test [issue_2313_3] + Running test [issue_2313_4] + Running test [issue_2313_5] + Running test [issue_2313_6] + Running test [issue_2313_7] +--- reduce_vars.js + Running test [reduce_vars] + Running test [modified] + Running test [unsafe_evaluate] + Running test [unsafe_evaluate_object] + Running test [unsafe_evaluate_array] + Running test [unsafe_evaluate_equality_1] + Running test [unsafe_evaluate_equality_2] + Running test [passes] + Running test [iife] + Running test [iife_new] + Running test [multi_def_1] + Running test [multi_def_2] + Running test [multi_def_3] + Running test [use_before_var] + Running test [inner_var_if] + Running test [inner_var_label] + Running test [inner_var_for_1] + Running test [inner_var_for_2] + Running test [inner_var_for_in_1] + Running test [inner_var_for_in_2] + Running test [inner_var_catch] + Running test [issue_1533_1] + Running test [issue_1533_2] + Running test [toplevel_on] + Running test [toplevel_off] + Running test [toplevel_on_loops_1] + Running test [toplevel_off_loops_1] + Running test [toplevel_on_loops_2] + Running test [toplevel_off_loops_2] + Running test [toplevel_on_loops_3] + Running test [toplevel_off_loops_3] + Running test [defun_reference] + Running test [defun_inline_1] + Running test [defun_inline_2] + Running test [defun_inline_3] + Running test [defun_call] + Running test [defun_redefine] + Running test [func_inline] + Running test [func_modified] + Running test [defun_label] + Running test [double_reference] + Running test [iife_arguments_1] + Running test [iife_arguments_2] + Running test [iife_eval_1] + Running test [iife_eval_2] + Running test [iife_func_side_effects] + Running test [issue_1595_1] + Running test [issue_1595_2] + Running test [issue_1595_3] + Running test [issue_1595_4] + Running test [issue_1606] + Running test [issue_1670_1] + Running test [issue_1670_2] + Running test [issue_1670_3] + Running test [issue_1670_4] + Running test [issue_1670_5] + Running test [issue_1670_6] + Running test [unary_delete] + Running test [redefine_arguments_1] + Running test [redefine_arguments_2] + Running test [redefine_arguments_3] + Running test [redefine_farg_1] + Running test [redefine_farg_2] + Running test [redefine_farg_3] + Running test [delay_def] + Running test [booleans] + Running test [side_effects_assign] + Running test [pure_getters_1] + Running test [pure_getters_2] + Running test [pure_getters_3] + Running test [catch_var] + Running test [var_assign_1] + Running test [var_assign_2] + Running test [var_assign_3] + Running test [var_assign_4] + Running test [var_assign_5] + Running test [var_assign_6] + Running test [immutable] + Running test [issue_1814_1] + Running test [issue_1814_2] + Running test [try_abort] + Running test [boolean_binary_assign] + Running test [cond_assign] + Running test [iife_assign] + Running test [issue_1850_1] + Running test [issue_1850_2] + Running test [issue_1850_3] + Running test [issue_1850_4] + Running test [issue_1865] + Running test [issue_1922_1] + Running test [issue_1922_2] + Running test [accessor] + Running test [issue_2090_1] + Running test [issue_2090_2] + Running test [for_in_prop] +--- return_undefined.js + Running test [return_undefined] +--- sandbox.js + Running test [console_log] +--- screw-ie8.js + Running test [do_screw] + Running test [dont_screw] + Running test [do_screw_constants] + Running test [dont_screw_constants] + Running test [do_screw_try_catch] + Running test [dont_screw_try_catch] + Running test [do_screw_try_catch_undefined] + Running test [dont_screw_try_catch_undefined] + Running test [reduce_vars] + Running test [issue_1586_1] + Running test [issue_1586_2] + Running test [issue_2120_1] + Running test [issue_2120_2] + Running test [issue_2254_1] + Running test [issue_2254_2] +--- sequences.js + Running test [make_sequences_1] + Running test [make_sequences_2] + Running test [make_sequences_3] + Running test [make_sequences_4] + Running test [lift_sequences_1] + Running test [lift_sequences_2] + Running test [lift_sequences_3] + Running test [lift_sequences_4] + Running test [lift_sequences_5] + Running test [for_sequences] + Running test [limit_1] + Running test [limit_2] + Running test [negate_iife_for] + Running test [iife] + Running test [unsafe_undefined] + Running test [issue_1685] + Running test [func_def_1] + Running test [func_def_2] + Running test [func_def_3] + Running test [func_def_4] + Running test [func_def_5] + Running test [issue_1758] + Running test [delete_seq_1] + Running test [delete_seq_2] + Running test [delete_seq_3] + Running test [delete_seq_4] + Running test [delete_seq_5] + Running test [delete_seq_6] + Running test [side_effects] + Running test [side_effects_cascade_1] + Running test [side_effects_cascade_2] + Running test [side_effects_cascade_3] + Running test [issue_27] + Running test [reassign_const] + Running test [issue_2062] + Running test [issue_2313] +--- string-literal.js + Running test [octal_escape_sequence] + Running test [issue_1929] +--- super.js + Running test [super_can_be_parsed] +--- switch.js + Running test [constant_switch_1] + Running test [constant_switch_2] + Running test [constant_switch_3] + Running test [constant_switch_4] + Running test [constant_switch_5] + Running test [constant_switch_6] + Running test [constant_switch_7] + Running test [constant_switch_8] + Running test [constant_switch_9] + Running test [drop_default_1] + Running test [drop_default_2] + Running test [keep_default] + Running test [issue_1663] + Running test [drop_case] + Running test [keep_case] + Running test [issue_376] + Running test [issue_441_1] + Running test [issue_441_2] + Running test [issue_1674] + Running test [issue_1679] + Running test [issue_1680_1] + Running test [issue_1680_2] + Running test [issue_1690_1] + Running test [issue_1690_2] + Running test [if_switch_typeof] + Running test [issue_1698] + Running test [issue_1705_1] + Running test [issue_1705_2] + Running test [issue_1705_3] + Running test [beautify] + Running test [issue_1758] +--- template-string.js + Running test [template_strings] + Running test [template_string_prefixes] + Running test [template_strings_ascii_only] + Running test [template_strings_without_ascii_only] + Running test [template_string_with_constant_expression] + Running test [template_string_with_predefined_constants] + Running test [template_string_evaluate_with_many_segments] + Running test [template_string_with_many_segments] + Running test [template_string_to_normal_string] + Running test [template_concattenating_string] + Running test [evaluate_nested_templates] + Running test [enforce_double_quotes] + Running test [enforce_single_quotes] + Running test [enforce_double_quotes_and_evaluate] + Running test [enforce_single_quotes_and_evaluate] + Running test [respect_inline_script] + Running test [do_not_optimize_tagged_template_1] + Running test [do_not_optimize_tagged_template_2] + Running test [keep_raw_content_in_tagged_template] + Running test [allow_chained_templates] + Running test [check_escaped_chars] + Running test [escape_dollar_curly] + Running test [template_starting_with_newline] + Running test [template_with_newline] + Running test [template_ending_with_newline] + Running test [issue_1856] + Running test [issue_1856_ascii_only] +--- transform.js + Running test [booleans_evaluate] + Running test [booleans_global_defs] + Running test [condition_evaluate] + Running test [if_else_empty] + Running test [label_if_break] + Running test [while_if_break] + Running test [if_return] +--- try-catch.js + Running test [catch_destructuring_with_sequence] +--- typeof.js + Running test [typeof_evaluation] + Running test [typeof_in_boolean_context] + Running test [issue_1668] +--- unicode.js + Running test [unicode_parse_variables] + Running test [unicode_escaped_identifier] + Running test [unicode_identifier_ascii_only] + Running test [unicode_string_literals] + Running test [check_escape_style] + Running test [ID_continue_with_surrogate_pair] + Running test [escape_non_escaped_identifier] + Running test [non_escape_2_non_escape] + Running test [issue_2242_1] + Running test [issue_2242_2] + Running test [issue_2242_3] + Running test [issue_2242_4] +--- wrap_iife.js + Running test [wrap_iife] + Running test [wrap_iife_in_expression] + Running test [wrap_iife_in_return_call] +--- yield.js + Running test [generators] + Running test [generators_yield] + Running test [generators_yield_assign] + Running test [generator_yield_undefined] + Running test [yield_optimize_expression] + Running test [yield_statements] + Running test [yield_as_identifier_in_function_in_generator] + Running test [yield_before_punctuators] + Running test [yield_as_identifier_outside_strict_mode] + Running test [empty_generator_as_parameter_with_side_effects] + Running test [empty_generator_as_parameter_without_side_effects] + Running test [yield_dot] + Running test [yield_sub] + Running test [yield_as_ES5_property]