Fix tst_qqmlecmascript::signalHandlers auto-test
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 3 Jun 2013 11:27:38 +0000 (13:27 +0200)
committerLars Knoll <lars.knoll@digia.com>
Mon, 3 Jun 2013 12:50:46 +0000 (14:50 +0200)
commit0812afeaa791a76498ecf667ef5432a2a7454f19
tree34b66ce61eff2f79517e1ca08c0d834c72d60fd9
parent1ec64aeb045e108b6de54ec792ff3c43aca9995a
Fix tst_qqmlecmascript::signalHandlers auto-test

Provide a more elaborate error message when a type error is thrown as
the result of trying to call a property as function.

Change-Id: Ie4cd56e2f0d16b90060af1f596a48914a868244a
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v4/qv4context.cpp
src/qml/qml/v4/qv4context_p.h
src/qml/qml/v4/qv4runtime.cpp