Alex Lam S.L
d68d155f93
support class literals ( #4658 )
2021-02-23 22:55:08 +08:00
Alex Lam S.L
94e8944f67
avoid false positive in --reduce-test ( #4648 )
2021-02-13 21:15:11 +08:00
Alex Lam S.L
e13d1e9969
support for [await]...of statements ( #4627 )
2021-02-09 04:28:23 +08:00
Alex Lam S.L
353f654038
fix corner case in --reduce-test ( #4625 )
2021-02-08 19:16:21 +08:00
Alex Lam S.L
fd4caf7a9c
support generator functions ( #4620 )
2021-02-08 06:44:20 +08:00
Alex Lam S.L
d37ee4d41c
support asynchronous test cases properly ( #4529 )
2021-01-20 07:27:32 +08:00
Alex Lam S.L
e23a10f7f9
fix corner case in loops ( #4565 )
...
fixes #4564
2021-01-18 06:36:59 +08:00
Alex Lam S.L
e616916de5
fix corner case in reduce_vars ( #4563 )
...
fixes #4562
2021-01-18 01:47:07 +08:00
Alex Lam S.L
ba54d074d8
support asynchronous arrow functions ( #4530 )
2021-01-10 11:34:26 +08:00
Alex Lam S.L
c3d358a5b8
support rest parameters ( #4515 )
2021-01-07 10:04:09 +08:00
Alex Lam S.L
e8c04f8cb6
suppress invalid AST transform in --reduce-test ( #4498 )
2021-01-03 10:34:46 +08:00
Alex Lam S.L
2dbafbb4ee
fix corner case in reduce_vars ( #4490 )
...
fixes #4489
2021-01-01 12:56:13 +08:00
Alex Lam S.L
8b954b022b
fix corner case with default values ( #4484 )
...
fixes #4483
2020-12-31 01:47:00 +08:00
Alex Lam S.L
94f3819dc6
fix corner case in reduce_vars & unused ( #4465 )
...
fixes #4464
2020-12-26 16:52:16 +08:00
Alex Lam S.L
1896694532
fix & enhance collapse_vars ( #4447 )
...
fixes #4446
2020-12-24 17:02:18 +08:00
Alex Lam S.L
2390fae5c4
support default values ( #4442 )
2020-12-24 06:22:55 +08:00
Alex Lam S.L
caea6aac81
handle destructuring catch in --reduce-test ( #4427 )
2020-12-20 11:22:45 +08:00
Alex Lam S.L
c1256c399a
fix corner case in arguments ( #4396 )
...
fixes #4395
2020-12-18 08:41:13 +08:00
Alex Lam S.L
a96f087ac3
support arrow function ( #4385 )
2020-12-17 18:23:41 +08:00
Alex Lam S.L
b309527264
maintain compatibility options when testing ( #4376 )
2020-12-13 14:26:45 +08:00
Alex Lam S.L
2cbbf5c375
support async function ( #4333 )
2020-12-07 05:22:40 +08:00
Alex Lam S.L
1e4985ed9e
support spread syntax ( #4328 )
2020-12-06 05:19:31 +08:00
Alex Lam S.L
7a51c17ff0
fix corner case in merge_vars ( #4295 )
...
fixes #4294
2020-11-18 09:32:53 +08:00
Alex Lam S.L
e5f80afc53
support destructured literals ( #4278 )
2020-11-17 08:01:24 +08:00
Alex Lam S.L
d8563caba7
improve resilience against spurious time-outs ( #4252 )
2020-10-30 11:06:48 +08:00
Alex Lam S.L
55451e7b78
support const ( #4190 )
2020-10-12 01:18:57 +08:00
Alex Lam S.L
bc6e105174
fix corner case in ie8 ( #4187 )
...
fixes #4186
2020-10-06 09:20:41 +08:00
Alex Lam S.L
8f0521d51d
retrofit try-catch-finally as block-scoped ( #4178 )
...
- support optional catch binding
2020-10-05 05:30:14 +08:00
Alex Lam S.L
2f0da2ff05
reduce AST_ForIn gracefully ( #4087 )
2020-09-02 08:51:43 +08:00
Alex Lam S.L
83a3cbf151
fix test case runtime accounting ( #4086 )
2020-09-02 03:23:08 +08:00
Alex Lam S.L
ed69adedcd
fix corner case in --reduce-test ( #3985 )
2020-06-10 15:51:00 +01:00
Alex Lam S.L
14eee81dc6
update header comment for --reduce-test ( #3910 )
2020-05-19 11:35:33 +08:00
Alex Lam S.L
35cc5aa06f
extend --reduce-test to cover minify() bugs ( #3876 )
2020-05-11 07:32:21 +08:00
Alex Lam S.L
94f33570e3
fix corner case in --reduce-test ( #3819 )
2020-04-25 06:49:50 +08:00
Alex Lam S.L
44d6912a55
improve --reduce-test on Error.message ( #3816 )
...
closes #3815
2020-04-25 01:30:37 +08:00
Alex Lam S.L
ff72eaa3c3
improve --reduce-test ( #3742 )
...
- ignore difference in error messages
- improve readability on trailing whitespace differences
- improve performance & quality via `console.log()` insertions
2020-03-21 05:50:41 +08:00
Alex Lam S.L
3485472866
avoid reducing setter argument ( #3737 )
2020-03-01 05:04:21 +00:00
Alex Lam S.L
c8d60d6983
detect toplevel option properly ( #3735 )
...
fixes #3730
2020-02-29 17:33:48 +00:00
Alex Lam S.L
457f958af3
improve --reduce-test ( #3727 )
...
- print out Node.js and OS information
2020-02-17 20:56:22 +00:00
Alex Lam S.L
53517db3e4
speed up --reduce-test ( #3726 )
...
- avoid pathological test case branches via adaptive time-out
- use initial test case elapsed time to adjust maximum time-out
- index output cache using hash instead of raw source
2020-02-17 15:35:07 +00:00
Alex Lam S.L
c13caf4876
speed up --reduce-test via result caching ( #3725 )
2020-02-15 22:43:34 +00:00
kzc
fbfa6178a6
improve --reduce-test ( #3722 )
...
- hoist body of functions and IIFEs
- simplify var declarations
2020-02-15 20:22:33 +00:00
Alex Lam S.L
f01f580d6c
improve --reduce-test ( #3719 )
...
- cover missing cases when eliminating unreferenced labels
- format multi-line outputs correctly
2020-02-14 02:47:20 +00:00
Alex Lam S.L
df547ffd97
improve test reduction ( #3711 )
...
- scan `AST_SymbolFunarg`
- scan `console.log(...)`
2020-02-09 20:42:36 +00:00
Alex Lam S.L
70551febc8
improve test/reduce ( #3710 )
...
- suppress several instances of malformed AST generation
- improve resilience & reporting against malformed ASTs
2020-02-09 08:07:55 +00:00
Alex Lam S.L
44499a6643
fix corner cases in test/reduce ( #3709 )
2020-02-07 02:41:07 +00:00
Alex Lam S.L
470a7d4df1
improve reduction of AST_BlockStatement ( #3708 )
2020-02-06 21:20:05 +00:00
Alex Lam S.L
551420132c
export missing API for AST manipulation ( #3707 )
2020-02-06 18:46:25 +00:00
kzc
b0040ba654
implement CLI --reduce-test and reduce tests in ufuzz ( #3705 )
2020-02-06 02:50:59 +00:00