Fix the Blink JSON Parser's handling of whitepace.
The JSON parser was too lenient in accepting whitespace between tokens (allowing any Unicode whitespace characters, not just TAB, CR, LF and Space). Additionally, unescaped ASCII Control characters (0x00 to 0x1f) were allowed inside of strings. This CL fixes both issues, and updates tests accordingly. Change-Id: I71b55a5815f02174a230c900071b4a83b0fc16c5 Reviewed-on: https://chromium-review.googlesource.com/1125035 Commit-Queue: Ian Clelland <iclelland@chromium.org> Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#572359}
Showing
Please register or sign in to comment