[Dojo-checkins] [dojo] #8732: dojo.io.script should use script onload callbacks

dojo trac at dojotoolkit.org
Mon Nov 2 23:21:12 EST 2009


#8732: dojo.io.script should use script onload callbacks
--------------------+-------------------------------------------------------
 Reporter:  jburke  |        Owner:  jburke 
     Type:  defect  |       Status:  closed 
 Priority:  normal  |    Milestone:  1.4    
Component:  Core    |      Version:  1.3.0b1
 Severity:  normal  |   Resolution:  fixed  
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by bill):

 Hmm, I get:

 {{{
 GROUP "t" has 4 tests to run [object Error]     ERROR IN:  function
 ioScriptLoad(t){ //t.is("undefined", typeof(scriptLoad)); var d = new
 doh.Deferred(); var td = dojo.io.script.get({ url: "scriptLoad.js" });
 td.addBoth(function(res){ if(typeof(scriptLoad) != "undefined" &&
 t.is("loaded", scriptLoad)){ d.callback(true); }else{ d.errback(false); }
 }); return d; } FAILED test:
 ../../dojo/tests/io/script.html::t::ioScriptLoad 0 ms
 }}}

 Actually it's failing for me standalone too.    On IE6/parallels,
 IE7/parallels, and IE8 on a real windows machine.

 Are you running over http?   Does
 http://archive.dojotoolkit.org/nightly/dojotoolkit/dojo/tests/io/script.html
 work for you?  (it fails for me)

-- 
Ticket URL: <http://bugs.dojotoolkit.org/ticket/8732#comment:5>
dojo <http://dojotoolkit.org/>
The Dojo UI Toolkit


More information about the Dojo-checkins mailing list