Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / include_callback.js
1 function go() {
2     var a = Qt.include("missing.js", function(o) { test2 = o.status == o.NETWORK_ERROR });
3     test1 = a.status == a.NETWORK_ERROR
4
5     var b = Qt.include("blank.js", function(o) { test4 = o.status == o.OK });
6     test3 = b.status == b.OK
7
8     var c = Qt.include("exception.js", function(o) { test6 = o.status == o.EXCEPTION });
9     test5 = c.status == c.EXCEPTION
10 }
11