aboutsummaryrefslogtreecommitdiff
path: root/test/sandbox.js
AgeCommit message (Expand)Author
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