[webkit-dev] Cancel non-terminating JavaScriptCore JSEvaluate()?

Dan Waylonis danw at nekotech.com
Fri Dec 28 14:35:07 PST 2007


Hi,

If I send some non-terminating code (e.g., while(1);) to JSEvaluate(),  
is there a way to have a "watchdog" thread/timer notice that  
JSEvaluate() is not terminating (after some amount of time) and cancel  
the code evaluation?

I seem to remember reading that Safari3 has something like this.

Thanks,
Dan
-----------------------------------------------------------------
Dan Waylonis                    danw at nekotech.com
nekotech SOFTWARE
http://www.nekotech.com
650.964.2490 Voice / Fax



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20071228/2375461f/attachment.html


More information about the webkit-dev mailing list