Opened 12 years ago

Closed 12 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

[object Error] ERROR IN: function xhrPut(t){ var d = new doh.Deferred(); var td = dojo.xhrPut({ url: "xhr.html?foo=bar", self content: { color: "blue"}, handle: function(res, ioArgs){ if((dojo._isDocumentOk(ioArgs.xhr))
(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

[object Error] ERROR IN: function xhrDelete(t){ var d = new doh.Deferred(); var td = dojo.xhrDelete({ url: "xhr.html", self preventCache: true, handle: function(res, ioArgs){ if((dojo._isDocumentOk(ioArgs.xhr))
(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

Change History (1)

comment:1 Changed 12 years ago by James Burke

Resolution: fixed
Status: newclosed

(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.

Note: See TracTickets for help on using tickets.