[webkit-help] Printing JS to stdout

paul pgsery at swcp.com
Sat Feb 8 18:37:25 PST 2014


Hi,

I need to automatically print JS to stdout before it gets executed. For 
instance, run minibrowser xyz.html and get any js as output.

I don't want to do this interactively using a debugger. Is there a way 
to do this with Web Inspector? Alternatively, could I insert a custom 
function in ProgramExecutable (or similar fn) to extract the string(s) 
from SourceCode& source?

Thanks,
Paul


More information about the webkit-help mailing list