[webkit-help] [JavaScriptCore] JSContext stop evaluation

Lukas Kollmer lukas.kollmer at gmail.com
Tue Dec 27 02:52:24 PST 2016


Hi,

Is it possible to tell a JSContext to cancel JavaScript code evaluation?
I found a `JSContextGroupSetExecutionTimeLimit
<https://github.com/WebKit/webkit/blob/master/Source/JavaScriptCore/API/JSContextRefPrivate.h#L88>`
function, but that's not what i'm looking for because you have to call it
before running any scripts.

Context: I'm working on a "NodeJS on iOS" app as a WWDC scholarship project
and having a "Stop execution" button would be really useful.

Thanks!

-- 
Lukas Kollmer
lukas.kollmer at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20161227/1c379838/attachment.html>


More information about the webkit-help mailing list