v8/test/unittests
Benedikt Meurer ade6d191c8 [debug] Treat Comma-separated Expressions like Statements when Stepping.
This CL introduces statement positions before the right-hand side of
comma expressions, in order to align the stepping behavior (and also
generally the breakpoint behavior) around semicolon (;) and comma (,)
separated expressions.

The motivation here is that left-hand sides of comma expressions are
evaluated purely for their side-effects and as such, they aren't
really any different from statements from a developers perspective.
And more importantly, minifiers (like UglifyJS, terser, or esbuild)
by default turn statement expression lists into comma-separated
expressions, thus implicitly changing the stepping behavior in ways
that are difficult to understand for developers.

Doc: http://go/chrome-devtools:comma-stepping-proposal
Demo: https://devtools-dbg-stories.netlify.app/crbug-1370200.html
Video: https://i.imgur.com/5WC03wF.gif
Fixed: chromium:1370200
Change-Id: I38f288d964bc992d1de0dce2ed2becd4220793df
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3934288
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83599}
2022-10-10 13:14:57 +00:00
..
api Allow no-op background merges to complete 2022-09-26 17:03:28 +00:00
asmjs [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
assembler Remove unused RelocInfo::Mode::RUNTIME_ENTRY 2022-09-20 12:52:52 +00:00
base [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
codegen [wasm][revec] Add YMM register in register allocation 2022-09-09 01:31:31 +00:00
compiler [test] Migrate cctest/test-run-bytecode-graph-builder to unittests/ 2022-10-03 08:44:43 +00:00
compiler-dispatcher [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
date [test] Move cctest/test-date to unittests 2022-04-26 08:14:32 +00:00
debug [inspector] Speed up DebugPropertyIterator. 2021-09-13 12:52:11 +00:00
deoptimizer [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
diagnostics [gdbjit] Fix overlapping AddressRegion check 2021-08-19 17:29:57 +00:00
execution [runtime] Clear array join stack when throwing uncatchable 2022-09-28 07:40:55 +00:00
flags [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
heap cppgc: young-gen: Switch from std::set to slot-set. 2022-10-10 11:54:36 +00:00
inspector [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
interpreter [debug] Treat Comma-separated Expressions like Statements when Stepping. 2022-10-10 13:14:57 +00:00
js-atomics [shared-struct, api] Support shared isolates in API 2022-08-26 23:41:57 +00:00
libplatform [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
libsampler [test] move cctest/libsampler to unittests/libsampler 2022-05-17 09:51:27 +00:00
logging [logging] Use v8_flags for accessing flag values 2022-09-15 12:44:51 +00:00
numbers [test] Move cctest/test-diy-fp to unittests/numbers/ 2022-05-31 07:34:19 +00:00
objects [symbol-as-weakmap-key] Add tests to check weak collection size 2022-09-28 07:20:24 +00:00
parser Ship import assertions 2022-09-22 00:35:35 +00:00
profiler [test] Move cctest/test-circular-queue to unittests 2022-04-25 14:49:26 +00:00
regexp [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
regress [heap] Remove Factory::NewUninitializedFixedArray 2021-04-26 13:52:38 +00:00
runtime [wasm] Fix inspection of imported wasm tables created in JS 2022-09-22 12:01:44 +00:00
sandbox [sandbox] Initialize sandbox during V8::Initialize 2022-07-15 09:29:32 +00:00
strings [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
tasks [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
temporal [Temporal] Clean up parser 2022-09-27 20:38:54 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
tracing [test] Move cctest/test-traced-value to unittests/tracing/ 2022-05-30 06:03:18 +00:00
utils [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
wasm [wasm] Rename functions / parameters: verify -> validate 2022-10-10 12:52:06 +00:00
web-snapshot [websnapshot] Only serialize actual elements 2022-09-22 07:19:34 +00:00
zone [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
avoid-windows-h-includes.cc Test that heap-inl.h doesn't include windows.h 2021-10-14 21:18:51 +00:00
BUILD.gn [heap] Revise conservative stack scanning visitor 2022-10-07 16:10:08 +00:00
DEPS Reland "Reland "[test] Move tracing cctest to unittests"" 2022-05-31 16:16:57 +00:00
gay-fixed.cc [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-fixed.h [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-precision.cc [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-precision.h [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-shortest.cc [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-shortest.h [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
run-all-unittests.cc [test] Add perfetto initialisation to unittest runner 2022-06-01 12:32:17 +00:00
test-helpers.cc [compiler-dispatcher] Move Job pointer to SFI 2021-12-08 16:03:35 +00:00
test-helpers.h [compiler] Introduce ReusableUnoptimizedCompileState 2021-12-08 11:14:27 +00:00
test-utils.cc [heap] Fix concurrent marking in MinorMC 2022-10-04 09:22:41 +00:00
test-utils.h [api] Implement v8::Context::HasTemplateLiteralObject 2022-09-22 09:47:56 +00:00
testcfg.py [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
unittests.status [test] Migrate cctest/test-run-bytecode-graph-builder to unittests/ 2022-10-03 08:44:43 +00:00
v8_unittests.cml [fuchsia][v8_unittests] migrate v8_unittests.cmx to .cml 2022-08-24 13:36:40 +00:00