v8/test/mjsunit/es8
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 [builtins] abort FrameFunctionIterator::next if frame summary empty 2017-12-20 00:08:35 +00:00
async-arrow-default-function-await.js [parser] Replacing ExpressionClassifier with ExpressionScope that knows what it's tracking 2018-12-18 08:32:30 +00:00
async-arrow-lexical-arguments.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-arrow-lexical-new.target.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-arrow-lexical-super.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-arrow-lexical-this.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-await-basic.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-await-interleaved.js [d8] Exit with error code upon unhandled promise rejection 2020-06-24 07:21:58 +00:00
async-await-no-constructor.js [d8] Exit with error code upon unhandled promise rejection 2020-06-24 07:21:58 +00:00
async-await-resolve-new.js Remove --harmony-async-await runtime flag 2017-01-10 23:27:02 +00:00
async-await-species.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-destructuring.js Remove per-parameter position var scope 2019-12-19 10:38:00 +00:00
async-function-stacktrace.js [dx] Turn on zero cost async stack traces by default. 2019-01-14 09:06:46 +00:00
async-function-try-finally.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
object-entries.js Throw TypeError if a proxy's [[OwnPropertyKeys]] returns dupes 2019-01-29 17:55:06 +00:00
object-get-own-property-descriptors.js Throw TypeError if a proxy's [[OwnPropertyKeys]] returns dupes 2019-01-29 17:55:06 +00:00
object-values.js Throw TypeError if a proxy's [[OwnPropertyKeys]] returns dupes 2019-01-29 17:55:06 +00:00
sloppy-no-duplicate-async.js Remove --harmony-async-await runtime flag 2017-01-10 23:27:02 +00:00