2010-12-29 Helder Correia <helder@sencha.com>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Dec 2010 09:32:12 +0000 (09:32 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Dec 2010 09:32:12 +0000 (09:32 +0000)
commit5dc6a5db301ac5965618671e7152d76ef2c7210a
tree9fa795e7af4ecfc04af1ac878a9dc2f90473907b
parentef027d1616ccf3256a9cafe2b9345245af98d75a
2010-12-29  Helder Correia  <helder@sencha.com>

        Reviewed by Eric Seidel.

        <VT> and <FF> are not valid JSON whitespace characters
        https://bugs.webkit.org/show_bug.cgi?id=51671

        Vertical Tab and Form Feed are not allowed white spaces by the JSON
        RFC 4627: http://www.ietf.org/rfc/rfc4627.txt (2. JSON Grammar).

        Tests: ietestcenter/Javascript/15.12.1.1-0-2.html
               ietestcenter/Javascript/15.12.1.1-0-3.html

        * runtime/LiteralParser.cpp:
        (JSC::isJSONWhiteSpace):
        (JSC::LiteralParser::Lexer::lex):
2010-12-29  Helder Correia  <helder@sencha.com>

        Reviewed by Eric Seidel.

        <VT> and <FF> are not valid JSON whitespace characters
        https://bugs.webkit.org/show_bug.cgi?id=51671

        Vertical Tab and Form Feed are not allowed white spaces by the JSON
        RFC 4627: http://www.ietf.org/rfc/rfc4627.txt (2. JSON Grammar).

        * ietestcenter/Javascript/15.12.1.1-0-2-expected.txt:
        * ietestcenter/Javascript/15.12.1.1-0-3-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/runtime/LiteralParser.cpp
LayoutTests/ChangeLog
LayoutTests/ietestcenter/Javascript/15.12.1.1-0-2-expected.txt
LayoutTests/ietestcenter/Javascript/15.12.1.1-0-3-expected.txt