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