Fix exception type when trying to assign to read-only QObject properties
authorSimon Hausmann <simon.hausmann@digia.com>
Thu, 13 Jun 2013 06:24:25 +0000 (08:24 +0200)
committerLars Knoll <lars.knoll@digia.com>
Thu, 13 Jun 2013 06:54:32 +0000 (08:54 +0200)
commit4bdde1128f29a5545f52d6fc5fd33f1487625206
tree80ba79c04e4a8929df9144ad95c97048a4d399a1
parentd0b466371ee1d00c4477991ed728f73be38ec16e
Fix exception type when trying to assign to read-only QObject properties

[[Put]] throws a type error, and so should the put operation on a QObject

Change-Id: I8fad91f3969c1889381d67d8d0ff751a91f8239e
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v4/qv4qobjectwrapper.cpp
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp