Treat U+2028 and U+2029 as special code points when escaping for JSON.
commit7df07dcca79422e9098fd966cc3e8839af8cb912
authorrsesek <rsesek@chromium.org>
Tue, 8 Sep 2015 16:53:42 +0000 (8 09:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 8 Sep 2015 16:54:30 +0000 (8 16:54 +0000)
tree3b22cbec9463e9a5e5c8d52b8d80d15df057fe68
parente4a355837fa1a4bcba2af9e38a91d5357ad584b7
Treat U+2028 and U+2029 as special code points when escaping for JSON.

BUG=525832

Review URL: https://codereview.chromium.org/1325253002

Cr-Commit-Position: refs/heads/master@{#347722}
base/json/string_escape.cc
base/json/string_escape_unittest.cc