node/test/cctest
Eugene Ostroukhov 54cd7dfd88
inspector: Fix crash for WS connection
Attaching WS session will now include a roundtrip onto the main thread
to make sure there is no other session (e.g. JS bindings)

This change also required refactoring WS socket implementation to better
support scenarios like this.

Fixes: https://github.com/nodejs/node/issues/16852
PR-URL: https://github.com/nodejs/node/pull/17085
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
2017-12-12 03:28:41 -05:00
..
node_module_reg.cc src: use NODE_BUILTIN_MODULE_CONTEXT_AWARE() macro 2017-12-12 03:27:55 -05:00
node_test_fixture.cc http2,async-wrap: introduce AliasedBuffer class 2017-09-13 17:44:24 +02:00
node_test_fixture.h test: make CreateParams stack-allocated 2017-12-12 03:27:59 -05:00
test_aliased_buffer.cc test: fixing AliasedBuffer tests to enter Isolate 2017-09-24 13:35:58 -03:00
test_base64.cc test: add basic cctest for base64.h 2017-04-08 11:57:40 +03:00
test_environment.cc src: prepare v8 platform for multi-isolate support 2017-12-11 15:41:54 -05:00
test_inspector_socket.cc inspector: Fix crash for WS connection 2017-12-12 03:28:41 -05:00
test_inspector_socket_server.cc inspector: Fix crash for WS connection 2017-12-12 03:28:41 -05:00
test_url.cc module: Allow runMain to be ESM 2017-09-07 15:18:32 -05:00
test_util.cc build: enable cctest to use generated objects 2017-03-24 08:28:43 -07:00