DEPRECATED: dojo/io/script Use dojo/request/script. -- will be removed in version: 2.0
DEPRECATED: dojo/io/iframe Use dojo/request/iframe. -- will be removed in version: 2.0
DEPRECATED: dojox.io.scriptFrame dojo.io.script now supports parallel requests without dojox.io.scriptFrame -- will be removed in version: 2.0
2 tests to run in 1 groups
------------------------------------------------------------
GROUP "t" has 2 tests to run
Error: Cannot read properties of null (reading 'ownerDocument')
ERROR IN: function ioScriptJsonp(t){ var d = new doh.Deferred(); var td = script.get({ //Note that this URL path is relative to the URL of the iframe document //(dojo.moduleUrl("dojo.resources", "blank.html") url: "../tests/io/scriptJsonp.js", content: { foo: "bar" }, callbackParamName: "callback", frameDoc: "testFrame" }); td.addBoth(function(res){ if(!(res instanceof Error) && t.is("mammal", res.animalType)){ d.callback(true); }else{ d.errback(false); } }); return d; }
FAILED test: ioScriptJsonp 1 ms