node/test/sequential
Dmitry Gozman a3e8829d4a
inspector: do not hardcode Debugger.CallFrameId in tests
Debugger.CallFrameId is defined as an opaque string [1].

Some tests currently hardcode the value, relying on
undocumented internal details of V8. This makes it hard
for V8 to change the internal representation.

We should instead use the reported call frame id from
the Debugger.paused event directly. This is how every
inspector client does it.

[1] https://chromedevtools.github.io/devtools-protocol/tot/Debugger/#type-CallFrameId

PR-URL: https://github.com/nodejs/node/pull/35570
Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-11-16 11:58:01 -05:00
..
sequential.status test: remove timers-blocking-callback 2020-05-13 17:52:50 +02:00
test-async-wrap-getasyncid.js test: add common/udppair utility 2020-09-26 14:23:41 +02:00
test-buffer-creation-regression.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-child-process-emfile.js child_process: setup stdio on error when possible 2019-05-21 13:13:24 +02:00
test-child-process-execsync.js test: remove common.rootDir 2020-09-22 19:55:40 +02:00
test-child-process-exit.js tools: add 'spaced-comment' into eslint rules 2018-04-01 22:33:13 +08:00
test-child-process-pass-fd.js
test-cli-syntax-bad.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-cli-syntax-file-not-found.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-cli-syntax-good.js benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
test-cli-syntax-require.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-cluster-inspect-brk.js
test-cluster-net-listen-ipv6only-none.js test: replace countdown with Promise.all() in cluster-net-listen tests 2020-04-22 18:13:01 +02:00
test-cluster-net-listen-ipv6only-rr.js test: replace countdown with Promise.all() in cluster-net-listen tests 2020-04-22 18:13:01 +02:00
test-cluster-send-handle-large-payload.js test: fix test-cluster-send-handle-large-payload 2018-03-14 22:28:18 -07:00
test-cpu-prof-default.js test: move --cpu-prof tests to sequential 2019-06-18 16:03:15 +02:00
test-cpu-prof-dir-absolute.js test: move --cpu-prof tests to sequential 2019-06-18 16:03:15 +02:00
test-cpu-prof-dir-and-name.js test: move --cpu-prof tests to sequential 2019-06-18 16:03:15 +02:00
test-cpu-prof-dir-relative.js test: move --cpu-prof tests to sequential 2019-06-18 16:03:15 +02:00
test-cpu-prof-dir-worker.js test: move --cpu-prof tests to sequential 2019-06-18 16:03:15 +02:00
test-cpu-prof-drained.js test: move --cpu-prof tests to sequential 2019-06-18 16:03:15 +02:00
test-cpu-prof-exit.js test: move --cpu-prof tests to sequential 2019-06-18 16:03:15 +02:00
test-cpu-prof-invalid-options.js test: move --cpu-prof tests to sequential 2019-06-18 16:03:15 +02:00
test-cpu-prof-kill.js test: move --cpu-prof tests to sequential 2019-06-18 16:03:15 +02:00
test-cpu-prof-name.js test: move --cpu-prof tests to sequential 2019-06-18 16:03:15 +02:00
test-cpu-prof-worker-argv.js test: move --cpu-prof tests to sequential 2019-06-18 16:03:15 +02:00
test-crypto-timing-safe-equal.js crypto: move typechecking for timingSafeEqual into C++ 2020-09-22 10:21:00 +02:00
test-debug-prompt.js test: fix flaky test-debug-prompt 2018-07-15 22:50:16 -07:00
test-debugger-debug-brk.js process: move DEP0062 (node --debug) to end-of-life 2019-02-02 05:45:05 +08:00
test-debugger-repeat-last.js
test-deprecation-flags.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test-dgram-bind-shared-ports.js benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
test-dgram-implicit-bind-failure.js dgram: hide underscored Socket properties 2018-07-28 00:35:08 -04:00
test-dgram-pingpong.js test: fix test-dgram-pingpong assertion arg order 2018-10-15 12:00:00 +02:00
test-diagnostic-dir-cpu-prof.js src: allow setting a dir for all diagnostic output 2020-09-22 23:47:59 +02:00
test-diagnostic-dir-heap-prof.js src: allow setting a dir for all diagnostic output 2020-09-22 23:47:59 +02:00
test-fs-stat-sync-overflow.js test: address nits and rename the corresponding fixture 2018-03-08 10:37:29 -06:00
test-fs-watch.js test: skip the unsupported test cases for IBM i 2020-02-06 02:49:15 +00:00
test-gc-http-client.js test: improve test-gc-http-client 2018-10-01 21:48:00 -07:00
test-heap-prof.js inspector: implement --heap-prof 2019-05-28 07:33:35 +02:00
test-heapdump-flag.js lib,src,doc: add --heapsnapshot-signal CLI flag 2019-04-12 17:16:46 -04:00
test-heapdump.js test: refactor common.expectsError 2020-04-01 12:58:33 -04:00
test-http-econnrefused.js benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
test-http-keep-alive-large-write.js
test-http-keepalive-maxsockets.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-http-max-http-headers.js test: remove unused callback argument 2019-12-17 17:07:02 -05:00
test-http-max-sockets.js test: rename test-regress-GH-877.js 2018-03-08 10:37:43 -06:00
test-http-regr-gh-2928.js test: remove unnecessary --expose-internals flags 2019-10-14 17:26:47 +02:00
test-http-server-keep-alive-timeout-slow-client-headers.js
test-http-server-keep-alive-timeout-slow-server.js
test-http2-large-file.js test: optimize test-http2-large-file 2019-03-20 09:50:52 -07:00
test-http2-max-session-memory.js test: refactor common.expectsError 2020-04-01 12:58:33 -04:00
test-http2-ping-flood.js test: fix flaky test-http2-ping-flood 2018-03-19 10:17:58 -07:00
test-http2-settings-flood.js test: fix flaky test-http2-settings-flood 2018-03-16 10:26:55 -07:00
test-http2-timeout-large-write-file.js test: simplify assertion in http2 tests 2018-09-16 20:37:30 -07:00
test-http2-timeout-large-write.js test: simplify assertion in http2 tests 2018-09-16 20:37:30 -07:00
test-https-connect-localport.js test: refactor test-https-connect-localport 2019-03-24 07:56:25 -07:00
test-https-server-keep-alive-timeout.js test: scale keepalive timeouts for slow machines 2020-02-06 02:49:06 +00:00
test-init.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
test-inspector-async-call-stack-abort.js test: remove usage of process.binding() 2019-03-07 17:43:21 +01:00
test-inspector-async-call-stack.js test: use useful message argument in test function 2019-12-17 17:06:54 -05:00
test-inspector-async-hook-setup-at-inspect-brk.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-async-hook-setup-at-signal.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-async-stack-traces-promise-then.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-async-stack-traces-set-interval.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-break-e.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-break-when-eval.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-console.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-contexts.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-debug-brk-flag.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-debug-end.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-enabled.js lib: make coverage work for Node.js 2018-11-03 18:35:04 -07:00
test-inspector-exception.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-has-inspector-false.js process: expose process.features.inspector 2019-02-02 05:41:45 +08:00
test-inspector-invalid-args.js src: simplify DEP0062 logic 2019-07-20 11:05:24 +02:00
test-inspector-ip-detection.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-not-blocked-on-idle.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-open.js inspector: throw error when activating an already active inspector 2020-07-08 13:02:14 -07:00
test-inspector-overwrite-config.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-port-cluster.js test: refactor common.expectsError 2020-04-01 12:58:33 -04:00
test-inspector-port-zero.js assert: stricter ifError 2018-01-24 13:16:09 +01:00
test-inspector-resource-name-to-url.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-runtime-evaluate-with-timeout.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-scriptparsed-context.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-stop-profile-after-done.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector-stops-no-file.js
test-inspector-stress-http.js test: make sure that inspector tests finish 2020-04-22 19:43:07 +02:00
test-inspector.js inspector: do not hardcode Debugger.CallFrameId in tests 2020-11-16 11:58:01 -05:00
test-module-loading.js module: fix memory leak when require error occurs 2020-04-28 16:19:47 +02:00
test-net-better-error-messages-port.js
test-net-bytes-per-incoming-chunk-overhead.js test: skip memory usage tests when ASAN is enabled 2020-05-13 17:53:01 +02:00
test-net-connect-handle-econnrefused.js test: refactor net-connect-handle-econnrefused 2019-04-27 11:36:09 +02:00
test-net-connect-local-error.js test: remove common.localhostIPv6 2020-09-22 19:53:50 +02:00
test-net-GH-5504.js
test-net-listen-shared-ports.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test-net-localport.js
test-net-reconnect-error.js test: remove superfluous checks in test-net-reconnect-error 2020-03-30 11:00:26 -07:00
test-net-response-size.js test: address nits and rename the corresponding fixture 2018-03-08 10:37:29 -06:00
test-net-server-address.js test: use block-scoping in test-net-server-address 2020-02-06 02:49:01 +00:00
test-net-server-bind.js
test-next-tick-error-spin.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
test-perf-hooks.js test: refactor common.expectsError 2020-04-01 12:58:33 -04:00
test-performance-eventloopdelay.js test: refactor common.expectsError 2020-04-01 12:58:33 -04:00
test-pipe.js test: fix assert.strictEqual params order 2018-10-14 22:29:45 +02:00
test-process-title.js test: move test-process-title to sequential 2020-05-13 17:53:00 +02:00
test-process-warnings.js
test-repl-timeout-throw.js test: change var to let 2020-09-22 19:56:47 +02:00
test-require-cache-without-stat.js
test-resolution-inspect-brk.js module: ignore resolution failures for inspect-brk 2020-02-06 02:48:55 +00:00
test-set-http-max-http-headers.js test: fix NODE_OPTIONS feature check 2019-06-18 16:03:17 +02:00
test-stream2-fs.js
test-stream2-stderr-sync.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-timers-block-eventloop.js test: remove common.busyLoop() 2020-02-06 02:49:05 +00:00
test-timers-set-interval-excludes-callback-duration.js test: remove common.busyLoop() 2020-02-06 02:49:05 +00:00
test-tls-connect.js test: move test_[key|ca|cert] to fixtures/keys/ 2019-06-17 21:12:16 +02:00
test-tls-lookup.js test: refactor common.expectsError 2020-04-01 12:58:33 -04:00
test-tls-psk-client.js test: discard data received by client 2020-03-30 11:00:31 -07:00
test-tls-securepair-client.js test: remove common.port from test-tls-securepair-client 2020-03-30 11:00:21 -07:00
test-tls-session-timeout.js test: remove uneeded agent keypair in fixtures/ 2019-06-17 21:12:17 +02:00
test-util-debug.js lib: improve debuglog() performance 2020-09-28 10:59:37 +02:00
test-vm-timeout-rethrow.js src: assign ERR_SCRIPT_EXECUTION_* codes in C++ 2018-04-25 23:46:08 +08:00
test-worker-prof.js test: harden the tick sampling logic 2020-04-22 19:09:10 +02:00
testcfg.py