diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-22 07:23:25 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-22 07:52:12 (GMT) |
commit | 716e0284c8f569d71e42354fd6fc3b965233e019 (patch) | |
tree | c97326578bd3afba3433125dc5259a222501a5e4 /tests/auto/qscriptengine | |
parent | b92da40d6a921c8518dd39477a9e53df343225c3 (diff) | |
download | Qt-716e0284c8f569d71e42354fd6fc3b965233e019.zip Qt-716e0284c8f569d71e42354fd6fc3b965233e019.tar.gz Qt-716e0284c8f569d71e42354fd6fc3b965233e019.tar.bz2 |
Fix tst_QScriptEngine::throwErrorFromProcessEvents
The problem is that the interpreter did not check for exception while
running the "while(true){}" loop, as it deduced that none of the generated
opcode would possibly generate an exception.
The solution is to force a check right after we come from a timeout.
Reviewed-by: Kent Hansen
Diffstat (limited to 'tests/auto/qscriptengine')
-rw-r--r-- | tests/auto/qscriptengine/tst_qscriptengine.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp index cbf49d5..4d693af 100644 --- a/tests/auto/qscriptengine/tst_qscriptengine.cpp +++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp @@ -2435,7 +2435,6 @@ public: void tst_QScriptEngine::throwErrorFromProcessEvents() { - QSKIP("Not implemented", SkipAll); QScriptEngine eng; EventReceiver2 receiver(&eng); |