Remove QJS exception API
authorKent Hansen <kent.hansen@nokia.com>
Wed, 7 Mar 2012 12:56:33 +0000 (13:56 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 3 May 2012 07:52:41 +0000 (09:52 +0200)
commitb9ccb579c4c93f23e6ceeea26b07d418ad4e5562
treee4def9e28c2b6a612531d698b31e2ec99ea451f1
parent51b3e8e7ef5af9ff6c40027daa3a04c58b6a4bd2
Remove QJS exception API

This API has been deprecated for a while. It's legacy stuff from
QtScript.

Until someone proves that QJSValue::isError() isn't sufficient to
handle JavaScript exceptions, we won't provide any additional API
for that.

Also removed QJSValuePrivate::lessThan(), which was using the
exception mechanism, but the function itself wasn't used anymore
(another remnant from the QtScript days).

Change-Id: I3dffc6a7835874153f90d25ae2a72c93ea6db39a
Reviewed-by: JÄ™drzej Nowacki <jedrzej.nowacki@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
14 files changed:
doc/src/snippets/code/src_script_qjsengine.cpp
examples/qml/script/shell/main.cpp
src/qml/qml/v8/qjsengine.cpp
src/qml/qml/v8/qjsengine.h
src/qml/qml/v8/qjsvalue.cpp
src/qml/qml/v8/qjsvalue_impl_p.h
src/qml/qml/v8/qjsvalue_p.h
src/qml/qml/v8/qv8engine.cpp
src/qml/qml/v8/qv8engine_impl_p.h
src/qml/qml/v8/qv8engine_p.h
tests/auto/qml/qjsengine/tst_qjsengine.cpp
tests/auto/qml/qjsvalue/tst_qjsvalue.cpp
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
tests/benchmarks/qml/js/qjsengine/tst_qjsengine.cpp