0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +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
node_test_fixture.h
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
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
test_util.cc