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} |
||
---|---|---|
.. | ||
console | ||
cpu-profiler | ||
debugger | ||
heap-profiler | ||
regress | ||
runtime | ||
sessions | ||
BUILD.gn | ||
DEPS | ||
DIR_METADATA | ||
frontend-channel.h | ||
inspector-test.cc | ||
inspector.status | ||
isolate-data.cc | ||
isolate-data.h | ||
json-parse-expected.txt | ||
json-parse.js | ||
OWNERS | ||
print-method-not-found-expected.txt | ||
print-method-not-found.js | ||
protocol-test.js | ||
task-runner.cc | ||
task-runner.h | ||
tasks.cc | ||
tasks.h | ||
testcfg.py | ||
utils.cc | ||
utils.h | ||
wasm-inspector-test.js |