deps: cherry-pick 2987946 from upstream V8
Original commit message:
Stop manual unescaping of script source data when preprocessing logs.
It appears that the fields are already being unescaped elsewhere,
perhaps by the JSON writer. So if we unescape when adding the source
filename and contents, unescaping will happen again later and plain
backslashes will be interpreted as escape codes.
Bug: v8:6240
Change-Id: Ic66b9017ae685d6dd12944ee8d254991e26fbd32
Reviewed-on: https://chromium-review.googlesource.com/1186625
Reviewed-by:
Jaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Bret Sepulveda <bsep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55401}
Refs: https://github.com/v8/v8/commit/29879461ceb4bc9b84b0ec38e4dd192fbf884dc2
PR-URL: https://github.com/nodejs/node/pull/24555
Fixes: https://github.com/nodejs/node/issues/20891
Reviewed-By:
Richard Lau <riclau@uk.ibm.com>
Reviewed-By:
Bartosz Sosnowski <bartosz@janeasystems.com>
parent
a7523072
Please register or sign in to comment