[chromium] Replace lone low surrogate in json parser
With JSON_REPLACE_INVALID_CHARACTERS option, json parser is replacing lone high surrogate but not lone low surrogate. This is to replace lone low surrogate. Tests: autoninja -C out/Default content_shell base base_unittests services services_unittests out/Default/base_unittests --gtest_filter="JSONParserTest.*:JSONReaderTest.*:JSONStringEscapeTest.*:StringUtilTest.IsStringUTF8" Bug: chromedriver:3515 Change-Id: I547b8b7edaa24e7de79dc980746815de607a0918 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248342Reviewed-by:Mathias Bynens <mathias@chromium.org> Reviewed-by:
Robert Sesek <rsesek@chromium.org> Commit-Queue: Shengfa Lin <shengfa@google.com> Cr-Commit-Position: refs/heads/master@{#779553}
Showing
Please register or sign in to comment