diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-04-07 18:47:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-07 18:47:30 +0800 |
commit | a1532eb076d506fbf87a04c0ec4f26e1929aa902 (patch) | |
tree | 77a0c257450c87b2f9852111ccf31aa84c3ba6b3 /test/ufuzz.json | |
parent | c2a1bceb773aab8875e0ffabf9f6b5199462f091 (diff) | |
download | tracifyjs-a1532eb076d506fbf87a04c0ec4f26e1929aa902.tar.gz tracifyjs-a1532eb076d506fbf87a04c0ec4f26e1929aa902.zip |
extend ufuzz generator (#1783)
- property access
- property assignment
- allow bare expression within try-block
- normalise `Error` in `console.log()`
- generate more unary expressions
- add parenthesis to enforce precedence
- adjust variable reuse/creation
- add parameters to function declaration & expression
- add return expression
- add trivial arguments to function call
Diffstat (limited to 'test/ufuzz.json')
-rw-r--r-- | test/ufuzz.json | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/test/ufuzz.json b/test/ufuzz.json index 4523795c..c4813470 100644 --- a/test/ufuzz.json +++ b/test/ufuzz.json @@ -1,17 +1,14 @@ [ { - "compress": { - "warnings": false + "compress": false, + "mangle": false, + "output": { + "beautify": true, + "bracketize": true } }, { - "compress": { - "toplevel": true, - "warnings": false - }, - "mangle": { - "toplevel": true - } + "compress": false }, { "compress": { @@ -20,15 +17,17 @@ "mangle": false }, { - "compress": false, - "mangle": true + "compress": { + "warnings": false + } }, { - "compress": false, - "mangle": false, - "output": { - "beautify": true, - "bracketize": true + "compress": { + "toplevel": true, + "warnings": false + }, + "mangle": { + "toplevel": true } }, { |