[webkit-dev] How to interrupt a running javascript code via JavaScriptCore C++ API?
Zhe Su
james.su at gmail.com
Fri Apr 3 04:42:58 PDT 2009
Does anyone know how to do it?
Thanks
On Tue, Mar 10, 2009 at 10:25 AM, Zhe Su <james.su at gmail.com> wrote:
> 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/20090403/1f56adfb/attachment.html>
More information about the webkit-dev
mailing list