aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/include_remote_missing.js
blob: cc90860cc96bae85672f8dc395dd0d61b25acb52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function go()
{
    var a = Qt.include("http://127.0.0.1:8111/missing.js", 
                       function(o) { 
                            test2 = o.status == o.NETWORK_ERROR
                            test3 = a.status == a.NETWORK_ERROR

                            done = true;
                       });

    test1 = a.status == a.LOADING
}