diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-11-04 12:10:53 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-11-08 14:44:45 (GMT) |
commit | d48a324d6670b14348d546db6a739ee138dab1e2 (patch) | |
tree | 865a0a552cf890d3eee7955634825ca33d0ca518 /src/script/api/qscriptengine.cpp | |
parent | 7b79a508bb16fd104ddf7d9a485d566ee2e051ba (diff) | |
download | Qt-d48a324d6670b14348d546db6a739ee138dab1e2.zip Qt-d48a324d6670b14348d546db6a739ee138dab1e2.tar.gz Qt-d48a324d6670b14348d546db6a739ee138dab1e2.tar.bz2 |
Add autotest that checks return value of QScriptContext::throwXXX()
The documentation says that they should return the error/value
that was thrown. When throwError() is called from a native function
call, the return value of the function will be ignored, so we need
a test that calls throwError() outside of a function context.
Reviewed-by: Jedrzej Nowacki
Diffstat (limited to 'src/script/api/qscriptengine.cpp')
0 files changed, 0 insertions, 0 deletions