Details
-
Sub-task
-
Resolution: Invalid
-
P2: Important
-
None
-
None
Description
Reason: We want a timeout hook, so we can do e.g. event processing (for QScriptEngine::setProcessEventsInterval()).
This patch can't be upstreamed as-is. It needs a justification / real usage upstream.
Proposed action: Try to introduce a timeout/interval notification in the JSC C API, possibly using this patch to provide the plumbing.
Dropping this patch would cause setProcessEventsInterval() and abortEvaluation() to stop working.
An alternative might be to install a debugger client (so we get callbacks at every statement and can measure the time ourselves), at the potential expense of greatly reduced performance.
Attachments
Issue Links
- relates to
-
QTBUG-11716 [QtScript/JavaScriptCore] Fix tst_QScriptEngine::throwErrorFromProcessEvents
-
- Closed
-
-
QTBUG-15839 Deprecate QScriptEngine::setProcessEventsInterval()
-
- Closed
-