b0861973d5
This CL adds some tests for async generators to ensure that we correctly report caught/uncaught exceptions. Most of the cases were fixed by the for-of fix: https://crrev.com/c/4146420 The remaining broken test cases contain a throw directly after a `yield`. For each ".next" call we create a new promise that we need to push on the promise stack before we actually resume the generator. R=bmeurer@chromium.org Fixed: chromium:1270780 Change-Id: I8365d20490451be37cc6973d8d91aeffed7e3511 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4146421 Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org> Cr-Commit-Position: refs/heads/main@{#85196} |
||
---|---|---|
.. | ||
benchmarks | ||
bigint | ||
cctest | ||
common | ||
debugger | ||
debugging | ||
fuzzer | ||
fuzzilli | ||
inspector | ||
intl | ||
js-perf-test | ||
memory | ||
message | ||
mjsunit | ||
mkgrokdump | ||
mozilla | ||
test262 | ||
torque | ||
unittests | ||
wasm-api-tests | ||
wasm-js | ||
wasm-spec-tests | ||
webkit | ||
BUILD.gn | ||
OWNERS |