Details
-
Sub-task
-
Resolution: Done
-
P2: Important
-
None
-
None
Description
The issue here is that JSC doesn't expect didTimeOut() to throw an exception – but since we made it virtual, that can happen (since we call out to application code. which can do anything).
"while(true){}" is not a realistic script to be running. We could say that throwing an error due to processEvents() will not cause the script to abort in this case. But if arbitrary scripts can be provided by the user, this could be exploited...
Attachments
Issue Links
- relates to
-
QTBUG-11699 [QtScript/JavaScriptCore] Allow setting timeout check interval, and make timeout check virtual
-
- Closed
-