Reviewed by Mark Rowe.
http://bugs.webkit.org/show_bug.cgi?id=17529 Add support for reading from stdin from testkjs * kjs/testkjs.cpp: (GlobalObject::GlobalObject): Add readline function to global object. (functionReadline): Added. Reads characters from stdin until a '\n' or EOF is encountered. The input is returned as a String to the caller. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing with 28 additions and 0 deletions