Don't crash when importing script with syntax error
authorKent Hansen <kent.hansen@nokia.com>
Mon, 21 Nov 2011 12:35:40 +0000 (13:35 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 23 Nov 2011 09:11:19 +0000 (10:11 +0100)
commit699b74dc1d288af3d1aaeb02335c10c21f37f56a
treea1d6ca0c1939d16e0f4876ac98e057801c6a741a
parent384fd7cdf1cb3061126c74c4f591cd2c0acdfedc
Don't crash when importing script with syntax error

Task-number: QTBUG-22843
Change-Id: I2b1ed6cbbc7a566f54b441359941ea121a9033ba
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/declarative/qml/qdeclarativevme.cpp
tests/auto/declarative/qdeclarativeecmascript/data/qtbug_22843.js [new file with mode: 0644]
tests/auto/declarative/qdeclarativeecmascript/data/qtbug_22843.library.js [new file with mode: 0644]
tests/auto/declarative/qdeclarativeecmascript/data/qtbug_22843.library.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativeecmascript/data/qtbug_22843.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp
tests/auto/declarative/qmlmin/tst_qmlmin.cpp