Handle callback oriented JSONP
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jul 2011 21:55:40 +0000 (21:55 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jul 2011 21:55:40 +0000 (21:55 +0000)
commit4a9362dc2ac6998901351768587b2918a3dfc170
treec4e5bc90ea10f5cda8961eafe2674449142538f6
parent750551b260d35ace6669dad0904b084baa794987
Handle callback oriented JSONP
https://bugs.webkit.org/show_bug.cgi?id=65271

Reviewed by Gavin Barraclough.

Handle the callback oriented versions of JSONP.  The Literal parser
now handles <Identifier> (. <Identifier>)* (jsonData).

* interpreter/Interpreter.cpp:
(JSC::Interpreter::execute):
* runtime/LiteralParser.cpp:
(JSC::LiteralParser::tryJSONPParse):
(JSC::LiteralParser::Lexer::lex):
* runtime/LiteralParser.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@91871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/interpreter/Interpreter.cpp
Source/JavaScriptCore/runtime/LiteralParser.cpp
Source/JavaScriptCore/runtime/LiteralParser.h