v8/test/debugger/regress
Camillo Bruni 1335b1ec36 [d8] Exit with error code upon unhandled promise rejection
With this CL d8 exits with an error code if there is an unhandled
promise rejection, e.g. due tue a failed assertion in a promise. Up
until now these assertions were just ignored.

Bug: v8:10556
Change-Id: I25f20e4be45a2de130562deb15f6a144f0ac976f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2238569
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68503}
2020-06-24 07:21:58 +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 [async] Improve async function handling. 2018-10-10 06:37:53 +00:00
regress-5901-1.js [Test] Add PrepareForOptimization to debugger/ tests. 2019-04-29 13:47:16 +00:00
regress-5901-2.js [Test] Add PrepareForOptimization to debugger/ tests. 2019-04-29 13:47:16 +00:00
regress-5950.js [Test] Add PrepareForOptimization to debugger/ tests. 2019-04-29 13:47:16 +00:00
regress-6085.js [debugger] fix switch block source positions. 2017-03-13 12:47:48 +00:00
regress-6526.js [Test] Add PrepareForOptimization to debugger/ tests. 2019-04-29 13:47:16 +00:00
regress-7421.js [cleanup] Add %PrepareFunctionForOptimize for tests that use %OptimizeOsr 2019-06-18 16:47:29 +00:00
regress-9482.js Add test for debug evaluating a previously non-whitelisted variable 2019-09-11 09:45:33 +00:00
regress-crbug-10132.js [debug] Collect source positions Debug::PrintBreakLocation 2020-01-21 12:07:03 +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 [Test] Add PrepareForOptimization to debugger/ tests. 2019-04-29 13:47:16 +00:00
regress-crbug-760225.js [debugger] Fix debug-evaluate for context-allocated this. 2019-07-05 12:14:35 +00:00
regress-crbug-808973.js [d8] Exit with error code upon unhandled promise rejection 2020-06-24 07:21:58 +00:00
regress-crbug-835973.js [interpreter] correctly advance over debug scaling prefixes. 2018-05-03 07:02:57 +00:00
regress-crbug-840288.js Report real module in addition to fake scripts 2019-11-15 09:59:58 +00:00
regress-crbug-882664.js [debug] fix scaling prefix patching for debug evaluate 2018-09-14 14:33:07 +00:00
regress-crbug-1032042.js [inspector] Report Wasm modules upon "Debugger.enable". 2019-12-27 09:51:26 +00:00