v8/test/debugger/regress
jgruber b8ae2249a4 [tests] Fix assertFalse(exception) anti-pattern
Some debugging tests relied on the following anti-pattern:

 let exception = false;

 try {
   /* ... some code that may throw on test failure ... */
 } catch (e) {
   exception = e;
 }

 assertFalse(exception);

This may be problematic if a falseish value is thrown.

Change-Id: I02eace4cc656fc9581928a90ac53cda4dc72b30c
Reviewed-on: https://chromium-review.googlesource.com/972822
Reviewed-by: Georg Neis <neis@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52105}
2018-03-21 10:59:46 +00:00
..
regress-1639-2.js [tests] Fix assertFalse(exception) anti-pattern 2018-03-21 10:59:46 +00:00
regress-2318.js [inspector] gracefully handle stack overflows in the inspector. 2016-12-19 14:07:55 +00:00
regress-5575-1.js
regress-5575-2.js
regress-5575-3.js
regress-5610.js [turbofan] Remove --turbo shorthand for --turbo-filter. 2017-06-23 11:19:19 +00:00
regress-5901-1.js [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
regress-5901-2.js [inspector] improve return position of explicit return in non-async function 2017-07-14 19:10:13 +00:00
regress-5950.js [debug] Handle OOM events in debugger tests 2017-02-16 11:48:22 +00:00
regress-6085.js [debugger] fix switch block source positions. 2017-03-13 12:47:48 +00:00
regress-6526.js Add exception prediction for ArrayForEachLoopLazyDeoptContinuation 2017-06-28 10:37:13 +00:00
regress-7421.js [debug] do not leak optimized code into no-side-effect evaluate. 2018-02-20 11:22:32 +00:00
regress-crbug-507070.js [debug] remove legacy implementation for break points. 2018-02-26 10:01:39 +00:00
regress-crbug-724858.js [inspector] improve return position of explicit return in non-async function 2017-07-14 19:10:13 +00:00
regress-crbug-736758.js Fix debugger's frame inspection for optimized Array.forEach. 2017-06-27 10:56:42 +00:00
regress-crbug-808973.js Revert "[builtins] Mega-revert to address the Dev blocker in crbug.com/808911." 2018-02-08 17:25:13 +00:00