Handle exceptions inside QV8QObjectConnectionList::qt_metacall
authorChris Adams <christopher.adams@nokia.com>
Thu, 29 Dec 2011 00:32:52 +0000 (10:32 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 29 Dec 2011 04:52:22 +0000 (05:52 +0100)
commit8eec0518d628b59d4e6bfe3ee68ddabb1f83df08
tree8ce268e05c6fe00ee199737b2a45561c37d9b6eb
parent78100927823edf9001d31c33162c634b5e4cf9d4
Handle exceptions inside QV8QObjectConnectionList::qt_metacall

Previously, exceptions were not handled in the connectionlist.
This could cause v8 to assert under certain circumstances.

Task-number: QTBUG-23375
Change-Id: Ie5f043b50bb6b02a77be464ca18ea8e3bbb0f501
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
src/declarative/qml/v8/qv8qobjectwrapper.cpp
tests/auto/declarative/qdeclarativeecmascript/data/qobjectConnectionListExceptionHandling.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp