To run tools like JSHint from the standalone jsc executable (i.e., as a check-webkit-style backend), there needs to be a way able to slurp a file into a string.
Rhino has had a function like this called readFile(). It's pretty simple to implement, as jsc already slurps files and evaluates them with script-exposed run(). I think we can just ignore the character encoding argument, as we don't have any better idea what it should be (or what to do with it) than WTF::String.
Created attachment 218138 [details]
Could you set cq+ as well? Thanks!
Comment on attachment 218138 [details]
Clearing flags on attachment: 218138
Committed r159934: <http://trac.webkit.org/changeset/159934>
All reviewed patches have been landed. Closing bug.
*** Bug 93702 has been marked as a duplicate of this bug. ***