v8/test
Benedikt Meurer 887bacacb0 [debug] Consistent Step-In behavior for generator functions.
This change addresses inconsistencies wrt. to stepping into generator
functions and breaking on the implicit initial yield. The new behavior
is the following:

 1. Stepping into a generator function doesn't trigger "generator
    stepping", but rather pauses right before the initial yield
    (assuming there a no non-simple parameters in between).
 2. When paused on the initial yield and stepping into or over, we also
    don't turn on "generator stepping" immediately, but rather return to
    the caller and only enter "generator stepping" on SuspendGenerator
    bytecodes that correspond to `yield`s or `await`s in the source
    code.

This matches the stepping behavior of regular functions more closely and
seems like a good compromise.

Fixed: chromium:901814
Change-Id: Ifc6c174011df1afea183e2c6ec21de27d72b17a7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2949099
Commit-Queue: Yang Guo <yangguo@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75066}
2021-06-10 07:49:04 +00:00
..
benchmarks [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
bigint Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
cctest Fix -Wc++11-narrowing in V8. 2021-06-09 22:47:37 +00:00
common [wasm] Simplify Immediates in decoder 2021-06-04 12:18:26 +00:00
debugger [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [wasm-gc] Allow struct.new_with_rtt as constant expression 2021-06-08 08:57:07 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [debug] Consistent Step-In behavior for generator functions. 2021-06-10 07:49:04 +00:00
intl Address flaky tests 2021-06-09 05:48:18 +00:00
js-perf-test [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
mjsunit [wasm-gc] Fix issues with struct.new init. expressions 2021-06-09 19:41:18 +00:00
mkgrokdump [build] Fold v8_wrappers into v8_libbase 2021-02-25 10:56:20 +00:00
mozilla Re-enable mozilla/ecma/Date/15.9.5.26-1 on arm64 2021-05-25 09:20:52 +00:00
test262 [Object.hasOwn] Add Test262 feature-to-flag mapping 2021-06-07 10:39:54 +00:00
torque [torque] Add LazyNode support 2021-02-23 16:51:53 +00:00
unittests Fix -Wc++11-narrowing in V8. 2021-06-09 22:47:37 +00:00
wasm-api-tests [trap-handler] Remove dependencies on macros, globals, flags 2021-05-17 09:32:40 +00:00
wasm-js [wasm] Update spec tests 2021-06-07 11:45:44 +00:00
wasm-spec-tests [wasm] Update spec tests 2021-06-07 11:45:44 +00:00
webkit [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS