aboutsummaryrefslogtreecommitdiff
path: root/test/sandbox.js
AgeCommit message (Expand)Author
2021-02-23support `class` literals (#4658)Alex Lam S.L
2021-01-29suppress false positives due to nested objects (#4597)Alex Lam S.L
2021-01-26workaround tty bugs on Node.js (#4594)Alex Lam S.L
2021-01-22workaround Node.js bug (#4579)Alex Lam S.L
2021-01-22suppress false positives in `ufuzz` (#4578)Alex Lam S.L
2021-01-21suppress false positives in `ufuzz` (#4577)Alex Lam S.L
2021-01-20support asynchronous test cases properly (#4529)Alex Lam S.L
2020-12-25workaround v8 heisenbug (#4453)Alex Lam S.L
2020-12-14emulate global context in Node.js & web (#4379)Alex Lam S.L
2020-12-07support async function (#4333)Alex Lam S.L
2020-08-19avoid setters during `console.log()` in sandbox (#4055)...fixes #4054Alex Lam S.L
2020-02-29detect `toplevel` option properly (#3735)...fixes #3730Alex Lam S.L
2020-02-07fix corner cases in `test/reduce` (#3709)Alex Lam S.L
2020-02-06implement CLI `--reduce-test` and reduce tests in ufuzz (#3705)kzc
2019-05-16reduce false positives from fuzzing (#3417)Alex Lam S.L
2019-05-15improve sandbox fidelity (#3415)Alex Lam S.L
2019-04-19fix corner case in `functions` (#3367)...fixes #3366Alex Lam S.L
2018-08-09fix corner case in `mangle` workaround for Safari (#3230)...fixes #3227Alex Lam S.L
2018-06-28improve `unsafe` `comparisons` (#3200)Alex Lam S.L
2018-04-27workaround `vm` context issue in `node-chakracore` (#3106)Alex Lam S.L
2018-04-19fix corner case in `strip_func_ids()` (#3090)Alex Lam S.L
2018-03-04improve `test/run-test.js` performance (#2971)...- allow reuse of contextified sandbox - minimise bottleneck from `vm.createContext()`Alex Lam S.L
2018-02-19improve `unsafe` `evaluate` of `function` (#2936)...Miscellaneous - simplify `run_code()` hackAlex Lam S.L
2018-02-19reduce false positives from object literals (#2935)Alex Lam S.L
2018-02-19reduce false positives from labels (#2934)Alex Lam S.L
2018-02-19reduce false positives from noop (#2933)Alex Lam S.L
2018-02-18reduce false positives from `function.toString()` (#2928)Alex Lam S.L
2018-02-17reduce `function`-related false positives (#2925)Alex Lam S.L
2018-01-19fix & improve `test/ufuzz.js` (#2815)...- use correct `options` when testing `rename` - mask arbitrarily assigned function IDs to reduce rate of false positives Alex Lam S.L
2017-12-12avoid `Function.prototype` pollution by `test/sandbox.js` (#2581)Alex Lam S.L
2017-06-10suppress false positives for-in loops (#2080)...fixes #2079Alex Lam S.L
2017-06-10fix portability of `sandbox.run_code()` on Node.js 0.1x (#2078)Alex Lam S.L
2017-06-04fix `AST_Function` scope invariance (#2052)...improve function name hack in `run_code()`Alex Lam S.L
2017-05-18make `expect_stdout` node version specific (#1963)...... via semver string on `node_version` label.Alex Lam S.L
2017-05-14fix bugs with getter/setter (#1926)...- `reduce_vars` - `side_effects` - property access for object - `AST_SymbolAccessor` as key names enhance `test/ufuzz.js` - add object getter & setter - property assignment to setter - avoid infinite recursion in setter - fix & adjust assignment operators - 50% `=` - 25% `+=` - 2.5% each for the rest - avoid "Invalid array length" - fix `console.log()` - bypass getter - curb recursive reference - deprecate `-E`, always report runtime errorsAlex Lam S.L
2017-04-23improve parser under "use strict" (#1836)...- `const` without value - `delete` of expression - redefining `arguments` or `eval` extend `test/ufuzz.js` - optionally generate "use strict" - improve handling of test cases with syntax errors - group IIFE generation - generate bare anonymous functions - workaround `console.log()` for `new function()` - generate expressions with `this` fixes #1810Alex Lam S.L
2017-04-07extend 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 callAlex Lam S.L
2017-04-03workaround Node.js bugs (#1775)...Wrap test code in IIFE before passing to `vm` fixes #1768 fixes #1771Alex Lam S.L
2017-04-03extend `test/ufuzz.js` (#1769)...New expressions: - property access - array literal - object literal Miscellaneous: - reduce execution timeout - test `toplevel` and `mangleProperties`Alex Lam S.L
2017-04-01implement `test/sandbox.js` (#1749)...- `test/run-tests.js` and `test/ufuzz.js` now shares the same `run_code()` and `same_stdout()` - re-enable fuzzer to generate top-level `NaN`, `Infinity` & `undefined` - attempt to show beautified output only when `run_code()` output is preservedAlex Lam S.L