Fix bug in JSON character quote table.

Review URL: http://codereview.chromium.org/3349006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5399 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
lrn@chromium.org 2010-09-02 07:35:35 +00:00
parent 6670c0ad38
commit fce2fad17e

View File

@ -74,7 +74,7 @@ var characterQuoteCache = {
'\f': '\\f', // ASCII 12, Formfeed '\f': '\\f', // ASCII 12, Formfeed
'\r': '\\r', // ASCII 13, Carriage Return '\r': '\\r', // ASCII 13, Carriage Return
'\"': '\\"', '\"': '\\"',
'/': '\\/' '\\': '\\\\'
}; };
function QuoteSingleJSONCharacter(c) { function QuoteSingleJSONCharacter(c) {