0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/cctest
Denys Otrishko 80441c8086 src,test: fix JSON escaping in node-report
Previously only simple escape sequences were handled
(i.e. \n, \t, r etc.). This commit adds escaping of other control
symbols in the range of 0x00 to 0x20.

Also, this replaces multiple find+replace calls with a single pass
replacer.

PR-URL: https://github.com/nodejs/node/pull/25626
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2019-01-25 08:19:11 +01:00
..
node_test_fixture.cc src: trace_event: secondary storage for metadata 2018-10-12 14:12:31 -07:00
node_test_fixture.h src: trace_event: secondary storage for metadata 2018-10-12 14:12:31 -07:00
test_aliased_buffer.cc
test_base64.cc
test_environment.cc src,test: add public wrapper for Environment::GetCurrent 2018-10-20 17:47:43 -04:00
test_inspector_socket_server.cc
test_inspector_socket.cc
test_node_postmortem_metadata.cc src: name EmbededderGraph edges and use class names for nodes 2018-10-04 15:32:30 +02:00
test_platform.cc
test_report_util.cc src,test: fix JSON escaping in node-report 2019-01-25 08:19:11 +01:00
test_traced_value.cc
test_url.cc inspector: implemented V8InspectorClient::resourceNameToUrl 2018-09-14 08:32:08 -07:00
test_util.cc