[Import Maps] Fix ImportMap::ToString()
Before this CL, strings are not escaped, which caused test failures when strings in import maps contains e.g. backslashes. This CL fixes the test failures by escaping the strings using EncodeForDebugging(). This CL doesn't affect non-test behaviors because ToString() is only used from test code. Bug: 990561 Change-Id: I0b1b8dd428026c2c9c8a837022e1d2c71604113f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1843314 Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/master@{#703477}
Showing
Please register or sign in to comment