[webkit-dev] How to interrupt a running javascript code via JavaScriptCore C++ API?
Zhe Su
james.su at gmail.com
Mon Mar 9 20:06:07 PDT 2009
Just filed an enhancement request:
https://bugs.webkit.org/show_bug.cgi?id=24478
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/20090310/b3218630/attachment.html>
More information about the webkit-dev
mailing list