diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/exceptionProducesWarning.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/exceptionProducesWarning.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/exceptionProducesWarning.qml b/tests/auto/declarative/qdeclarativeecmascript/data/exceptionProducesWarning.qml new file mode 100644 index 0000000..acc3163 --- /dev/null +++ b/tests/auto/declarative/qdeclarativeecmascript/data/exceptionProducesWarning.qml @@ -0,0 +1,8 @@ +import Qt 4.6 +import Qt.test 1.0 + +MyQmlObject { + Component.onCompleted: + { throw(new Error("JS exception")) } +} + |