Bug 41598

Summary: [Qt] QScriptEngine should have an API for processing application events
Product: WebKit Reporter: Kent Hansen <kent.hansen>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: cmarcelo, jedrzej.nowacki
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Bug Depends on: 41765    
Bug Blocks: 31863    

Description Kent Hansen 2010-07-05 02:55:00 PDT
See http://doc.trolltech.com/4.6/qscriptengine.html#setProcessEventsInterval

This can be used to e.g. keep the UI response when running a potentially long-running script in the GUI (main) thread.

To implement this functionality, a callback is needed from the VM every n milliseconds.
JSC currently has such a mechanism internally (TimeoutChecker), but there's no hook for it in the C API.
Comment 1 Jędrzej Nowacki 2011-07-07 07:52:22 PDT
Porting QtScript API over JSC C API will not be continued.