v8/test/inspector
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
..
console [inspector] Rename console.scheduleTask to console.createTask 2022-07-27 06:09:27 +00:00
cpu-profiler [wasm] Add more output to console-profile-wasm test 2022-10-17 15:18:25 +00:00
debugger [inspector] Fix catch prediction in async generators 2023-01-11 05:41:25 +00:00
heap-profiler Don't run sampling-heap-profiler-flags with stress-incremental-marking 2022-09-15 12:53:28 +00:00
regress [debug] Fix catch prediction for for-of statement 2023-01-10 07:12:59 +00:00
runtime [inspector] Provide more details about destroyed context 2023-01-05 09:27:47 +00:00
sessions [inspector] Provide more details about destroyed context 2023-01-05 09:27:47 +00:00
BUILD.gn
DEPS [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
DIR_METADATA
frontend-channel.h [execution] Pass microtask queue from Context to MicrotasksScope 2022-10-19 14:56:37 +00:00
inspector-test.cc [test] Move inspector stopping to session 2022-12-13 06:59:09 +00:00
inspector.status [inspector] Remove Type Profiler 2022-10-10 11:50:16 +00:00
isolate-data.cc Revert "Fix a few more places where we don't check for termination" 2022-12-14 13:08:13 +00:00
isolate-data.h [test] Move inspector stopping to session 2022-12-13 06:59:09 +00:00
json-parse-expected.txt
json-parse.js
OWNERS
print-method-not-found-expected.txt
print-method-not-found.js
protocol-test.js [inspector] Provide more details about destroyed context 2023-01-05 09:27:47 +00:00
task-runner.cc Reland "[flags] Remove FLAG_* aliases" 2022-10-14 13:13:55 +00:00
task-runner.h [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
tasks.cc Fix gcc build following https://crrev.com/c/v8/v8/+/3976353 2022-11-10 22:35:41 +00:00
tasks.h DevTools: use a barrier to sync runIfWaitingForDebugger from multiple sessions 2022-11-10 20:23:01 +00:00
testcfg.py [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
utils.cc
utils.h [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
wasm-inspector-test.js [testing][wasm] Inspector: Print 'null' for empty table entries 2022-11-11 10:53:52 +00:00