Opened 14 years ago
Closed 14 years ago
#3724 closed defect (fixed)
0.9: xhr Tests fail on IE 6.
Reported by: | Jared Jurkiewicz | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | IO | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
PASSED test: ../../dojo/tests/_base/xhr.html::t::rawXhrPost
(ioArgs.xhr.status == 403) ){ d.callback(true); }else{ d.errback(false); } } }); t.t(td instanceof dojo.Deferred); return d; } |
FAILED test: ../../dojo/tests/_base/xhr.html::t::xhrPut
(ioArgs.xhr.status == 403) ){ d.callback(true); }else{ d.errback(false); } } }); t.t(td instanceof dojo.Deferred); return d; } FAILED test: ../../dojo/tests/_base/xhr.html::t::xhrDelete |
[object Error] ERROR IN: function xhrCancel(t){ var d = new doh.Deferred(); var td = dojo.xhrPost({ url: "xhr.html", self handle: function(res, ioArgs){ if(res instanceof Error && res.dojoType == "cancel"){ d.callback(true); }else{ d.errback(false); } } }); td.cancel(); t.t(td instanceof dojo.Deferred); return d; }
FAILED test: ../../dojo/tests/_base/xhr.html::t::xhrCancel
Note: See
TracTickets for help on using
tickets.
(In [9966]) Fixes #3724. Now IE 6 should pass xhr unit tests. Note that only testing from a server is officially supported, given that the tests try to do PUTs and DELETEs, which do not make sense for local files.