[webkit-dev] How to interrupt a running javascript code via JavaScriptCore C++ API?

Zhe Su james.su at gmail.com
Mon Mar 9 19:25:56 PDT 2009


Hi,
  When running a piece of javascript code by using JSEvaluateScript() or
JSObjectCallAsFunction(), the native code might be blocked because of dead
loop or some other abnormal things in javascript code. In this case, a
mechanism to let native code be able to interrupt the javascript code by
throwing a javascript exception would be very useful. Seems that current
JavaScriptCore API doesn't have such ability.

Regards
James Su
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090310/dec82b92/attachment.html>


More information about the webkit-dev mailing list