Commit Graph

148 Commits

Author SHA1 Message Date
Alex Lam S.L
ec0440f264
fix corner cases with import (#4709)
fixes #4708
2021-03-01 07:13:49 +08:00
Alex Lam S.L
81254f67e4
support limited ufuzz testing for import (#4707) 2021-03-01 02:27:41 +08:00
Alex Lam S.L
ba4a771bbc
support limited ufuzz testing for export (#4693)
fixes #4692
2021-02-27 04:56:34 +08:00
Alex Lam S.L
c885660347
support nullish coalescing operator (#4678) 2021-02-24 05:57:11 +08:00
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
c6e287331d
fix corner cases in inline (#4640)
fixes #4639
2021-02-10 20:40:57 +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
aedc1e7fc9
improve false positive detection in ufuzz (#4626) 2021-02-08 20:17:14 +08:00
Alex Lam S.L
fd4caf7a9c
support generator functions (#4620) 2021-02-08 06:44:20 +08:00
Alex Lam S.L
ba6e29d6fd
introduce templates (#4603) 2021-02-01 17:20:13 +08:00
Alex Lam S.L
d4685640a0
support template literals (#4601) 2021-02-01 10:36:45 +08:00
Alex Lam S.L
9d23ba0a22
support exponentiation operator (#4593) 2021-01-25 05:48:51 +08:00
Alex Lam S.L
a08d42555a
fix infinite recursion in ufuzz code generation (#4592) 2021-01-24 23:37:57 +08:00
Alex Lam S.L
8bfd891c09
support BigInt literals (#4583) 2021-01-24 09:51:18 +08:00
Alex Lam S.L
acc443b2cf
fix corner case in reduce_vars (#4585)
fixes #4584
2021-01-24 03:37:52 +08:00
Alex Lam S.L
c0614654d9
improve ufuzz on destructuring (#4580) 2021-01-23 02:00:26 +08:00
Alex Lam S.L
63b5b6d2b3
suppress false positives in ufuzz (#4578) 2021-01-22 02:33:00 +08:00
Alex Lam S.L
e675262d51
suppress false positives in ufuzz (#4577) 2021-01-21 14:33:31 +08:00
Alex Lam S.L
bc7a88baea
suppress false positives in ufuzz (#4574) 2021-01-20 21:03:33 +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
884ec4e8a5
improve false positive detection in ufuzz (#4566) 2021-01-18 06:35:53 +08:00
Alex Lam S.L
e84957e3da
suppress invalid test generation in ufuzz (#4551) 2021-01-13 04:29:39 +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
0013cbf91f
improve false positive detection in ufuzz (#4482) 2020-12-30 21:53:03 +08:00
Alex Lam S.L
c00efe56f4
workaround asynchronous tty bugs on Node.js (#4473) 2020-12-28 13:32:07 +08:00
Alex Lam S.L
a8785fb694
workaround v8 bug with labels (#4467)
closes #4466
2020-12-27 13:32:18 +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
e1b2026929
improve object function generation in ufuzz (#4434) 2020-12-21 15:32:50 +08:00
Alex Lam S.L
89198e0ad4
improve destructuring generation in ufuzz (#4428) 2020-12-20 13:38:56 +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
b7c49b72b3
support async function within object literal (#4424) 2020-12-20 08:19:04 +08:00
Alex Lam S.L
2c9c72e06c
suppress false positives in ufuzz (#4419) 2020-12-20 02:31:09 +08:00
Alex Lam S.L
e6dd471f8f
support destructuring of catch variable (#4412) 2020-12-19 12:28:38 +08:00
Alex Lam S.L
d2c50ace99
fix corner case in merge_vars (#4402)
fixes #4401
2020-12-18 12:20:43 +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
2123f38394
fix asynchronous state tracking in ufuzz (#4369) 2020-12-12 05:19:56 +08:00
Alex Lam S.L
4fdec765bc
gate language features in ufuzz automatically (#4367) 2020-12-12 03:43:12 +08:00
Alex Lam S.L
57105b299e
fix corner cases with spread syntax (#4358) 2020-12-11 06:59:21 +08:00
Alex Lam S.L
2f31f95095
improve ufuzz (#4339) 2020-12-07 16:04:51 +08:00
Alex Lam S.L
9eb65f3af3
extend trailing comma support (#4334) 2020-12-07 10:07:34 +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
9b3a363604
fix infinite recursion in ufuzz (#4318) 2020-11-25 09:33:42 +08:00
Alex Lam S.L
6dbacb5e3f
enhance varify (#4279) 2020-11-17 12:35:00 +08:00
Alex Lam S.L
e5f80afc53
support destructured literals (#4278) 2020-11-17 08:01:24 +08:00
Alex Lam S.L
91fc1c82b5
support computed property name in object literal (#4268) 2020-11-08 23:38:32 +08:00
Alex Lam S.L
1cbd07e789
support shorthand method name in object literal (#4264) 2020-11-08 13:17:53 +08:00
Alex Lam S.L
b82de04775
support shorthand property name in object literal (#4263) 2020-11-08 10:44:44 +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
96bf7fceab
support let (#4227) 2020-10-19 08:32:39 +08:00
Alex Lam S.L
4298201938
flush stdout from ufuzz jobs properly (#4224) 2020-10-16 21:56:54 +08:00
Alex Lam S.L
c0c04c33bb
fix corner cases in dead_code & reduce_vars (#4213)
fixes #4212
2020-10-14 00:09:17 +08:00
Alex Lam S.L
b512726cf3
fix corner case in collapse_vars (#4199)
fixes #4197
2020-10-12 14:13:17 +08:00
Alex Lam S.L
55451e7b78
support const (#4190) 2020-10-12 01:18:57 +08:00
Alex Lam S.L
c7a3e09407
enhance loops & unused (#4074)
- extend `ufuzz` generation of for-in loops
2020-08-26 09:32:55 +08:00
Alex Lam S.L
9b05494ebc
fix corner cases in aliasing of global variables (#4039)
fixes #4038
2020-08-06 09:39:50 +01:00
Alex Lam S.L
88423f2574
validate against multiple parents on AST_Node (#4032)
- fix related issues in `global_defs`, `ie8` & `reduce_vars`
2020-07-31 08:09:19 +08:00
Alex Lam S.L
a98ba994bd reduce ufuzz test cases that fail to minify() (#4021) 2020-07-21 17:22:18 +08:00
Alex Lam S.L
2021c2fa3e
fix corner case in false positive detection (#4011) 2020-07-20 21:57:22 +08:00
Alex Lam S.L
3bf8699f95
fix corner case in inline (#4007)
fixes #4006
2020-06-29 09:06:23 +08:00
Alex Lam S.L
9aed0e3a73
speed up false positive detection in ufuzz (#3996) 2020-06-14 03:42:42 +08:00
Alex Lam S.L
88850a6e05
enhance evaluate (#3995) 2020-06-14 02:50:26 +08:00
Alex Lam S.L
2a9d0fc6fb
improve false positive detection in ufuzz (#3982) 2020-06-10 07:28:56 +08:00
Alex Lam S.L
3b273cecac
improve false positive detection in ufuzz (#3977) 2020-06-09 19:07:02 +08:00
Alex Lam S.L
08c4729eb4
improve false positive detection in ufuzz (#3973) 2020-06-09 01:47:50 +08:00
Alex Lam S.L
491d6ce1d5
improve false positive detection in ufuzz (#3968) 2020-06-08 14:21:45 +08:00
Alex Lam S.L
df3bb8028a
fix corner cases related to in (#3964) 2020-06-08 05:23:23 +08:00
Alex Lam S.L
13c72a986c
fix corner case in infinite recursion detection (#3926) 2020-05-27 02:03:38 +08:00
Alex Lam S.L
27bdcbbd83
fix corner cases in infinite recursion detection (#3924) 2020-05-25 22:54:57 +08:00
Alex Lam S.L
cc6eb4b15f
improve ufuzz (#3912)
- preserve test case if `beautify` suppresses bug
- determine suspicious options even if `minify()` fails
2020-05-21 04:00:38 +08:00
Alex Lam S.L
a00f8dade7
fix suspicious toplevel detection (#3902) 2020-05-17 21:35:17 +08:00
Alex Lam S.L
dc9e7cd1fe
suppress ufuzz false positives (#3893) 2020-05-13 07:07:49 +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
33f3b0c1d9
fix corner case in reduce_vars (#3867)
fixes #3866
2020-05-10 16:35:03 +08:00
Alex Lam S.L
97728c4f0b
improve AST validation (#3864) 2020-05-10 05:25:44 +08:00
Alex Lam S.L
1bb0804d60
improve ufuzz detection of suspicious options (#3860) 2020-05-08 15:03:48 +08:00
Alex Lam S.L
a441b00951
suppress ufuzz false positives (#3855) 2020-05-08 03:21:44 +08:00
Alex Lam S.L
36dcfa3e82
improve suspicious option detection (#3820) 2020-04-27 00:59:26 +08:00
Alex Lam S.L
708973e51d
report top-level default options (#3797) 2020-04-18 18:03:06 +08:00
Alex Lam S.L
39aa33749b
expand ufuzz patterns (#3792) 2020-04-18 07:12:13 +08:00
Alex Lam S.L
da68ec6e19
fix corner cases in join_vars (#3790)
fixes #3789
fixes #3791
2020-04-18 02:53:26 +08:00
Alex Lam S.L
273c6020ba
expand ufuzz patterns (#3761) 2020-04-05 22:12:46 +08:00
Alex Lam S.L
1b07f64057
enhance inline (#3760) 2020-04-05 10:42:23 +08:00
Alex Lam S.L
03e968be62
improve suspicious option detection (#3749) 2020-03-13 04:03:47 +08: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
7052ce5aef
fix corner case in evaluate (#3728)
- augment `ufuzz` for further `RegExp` testing
2020-02-18 19:35:37 +00:00
kzc
b0040ba654
implement CLI --reduce-test and reduce tests in ufuzz (#3705) 2020-02-06 02:50:59 +00:00
Alex Lam S.L
0ff607cb80
improve ufuzz false positive detection (#3670) 2020-01-06 11:26:15 +08:00
Alex Lam S.L
3ff0feddee
suppress false positives from fuzzer (#3638) 2019-12-16 17:32:47 +02:00
Alex Lam S.L
24e8b47977
improve ufuzz resilience (#3541) 2019-10-28 18:08:51 +08:00
Alex Lam S.L
95618793a4
fix corner case in ufuzz (#3538) 2019-10-28 16:04:07 +08:00
Alex Lam S.L
2f3b460212
fix & enhance unsafe_math (#3537)
closes #3535
fixes #3536
2019-10-28 13:37:08 +08:00
Alex Lam S.L
ebbf3d4a51
improve ufuzz resilience (#3533) 2019-10-27 14:17:35 +08:00
Alex Lam S.L
5bd0cf8633
enable GitHub Actions (#3503) 2019-10-21 04:11:14 +08:00