On Dec 28, 2007, at 2:35 PM, Dan Waylonis wrote:
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.
WebKit does have this feature. However, the JavaScriptCore API does
not export the feature so that you can use it with functions like
JSEvaluate. That's something that will have to be added for a future
version of the API.
-- Darin
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev