v8/test/debugger
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
..
bugs/harmony [debug-wrapper] migrate some scope related tests 2016-12-14 07:20:33 +00:00
debug [tests] Fix assertFalse(exception) anti-pattern 2018-03-21 10:59:46 +00:00
protocol
regress [tests] Fix assertFalse(exception) anti-pattern 2018-03-21 10:59:46 +00:00
wrapper [debugger] Various break-related functionality in test wrapper 2016-10-28 08:18:34 +00:00
debugger.isolate [build] Remove remaining disable-inspector options in GN 2017-04-05 17:59:07 +00:00
debugger.status [heap] Minor MC: Pause concurrent marking 2017-12-08 13:33:33 +00:00
test-api.js [debug] Support bigints in JS debugger test wrapper 2018-03-16 08:57:21 +00:00
testcfg.py [test] Remove context usage from test processors 2018-02-01 10:35:02 +00:00