tests/auto/declarative/qdeclarativeecmascript/data/include_callback.js
changeset 30 5dc02b23752f
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     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