Updates:
        Status: WorkingAsIntended

Comment #1 on issue 1939 by [email protected]: JSON encoding bug
http://code.google.com/p/v8/issues/detail?id=1939

JSON.stringify result is not necessarily parsable as JavaScript object literals.

Both JSON.parse/JSON.stringify follow a separate grammar (see http://es5.github.com/#x15.12.1 ) that allows line separator (\u2028) to appear inside JSONString unescaped.

At the same time JavaScript grammar allows LS to appear inside StringLiteral _only_ as part of LineContinuation (see http://es5.github.com/#x7.3 for more details).

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to