v8/test
Simon Zünd b0861973d5 [inspector] Fix catch prediction in async generators
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}
2023-01-11 05:41:25 +00:00
..
benchmarks Microoptimizations in FastDtoa. 2022-12-16 15:03:39 +00:00
bigint
cctest [cctest] Disable an incorrect test 2023-01-09 15:01:53 +00:00
common [relaxed-simd] Fix ordering of relaxed FMA/FNMA operands 2022-12-16 19:12:44 +00:00
debugger Reland: "[wasm] Compile debug code lazily" 2022-12-15 14:59:13 +00:00
debugging
fuzzer [liftoff][fuzzer] Do not throw before frame setup 2023-01-04 15:54:18 +00:00
fuzzilli
inspector [inspector] Fix catch prediction in async generators 2023-01-11 05:41:25 +00:00
intl Skip intl/overrides/caching 2023-01-10 09:45:05 +00:00
js-perf-test [js-perf-test] Clean up BigInt perf tests 2023-01-10 14:52:10 +00:00
memory
message Resolved an issue where an earlier error was not reported first in certain cases 2022-11-11 13:43:32 +00:00
mjsunit [shared-struct] Fix shared barrier for always shared objects 2023-01-10 19:07:40 +00:00
mkgrokdump [heap] Rename safepoint scopes 2022-10-25 16:32:55 +00:00
mozilla [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
test262 [test262] Roll test262 2023-01-07 09:01:20 +00:00
torque
unittests [disasm][x64] Add missing disasm for opcode F6F7 2023-01-10 07:15:05 +00:00
wasm-api-tests [wasm-gc] Final types 2022-12-20 14:03:30 +00:00
wasm-js [wasm] Update spec tests 2022-12-16 13:05:33 +00:00
wasm-spec-tests [wasm] Update spec tests 2022-12-16 13:05:33 +00:00
webkit [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
BUILD.gn
OWNERS