Bug Tracker

Opened 13 years ago

Closed 12 years ago

Last modified 11 years ago

#6346 closed bug (invalid)

conflict between jQuery 1.4 and Sarissa

Reported by: doug Owned by: doug
Priority: low Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: sarissa Cc:
Blocked by: Blocking:


Change History (9)

comment:2 Changed 13 years ago by doug

This change to Sarissa seems to work.

_SARISSA_XMLHTTP_PROGID = Sarissa.pickRecentProgID(["Msxml2.XMLHTTP.6.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"]); _SARISSA_XMLHTTP_PROGID = Sarissa.pickRecentProgID(["MSXML2.XMLHTTP", "Microsoft.XMLHTTP"]);

Any idea why Msxml2.XMLHTTP.6.0 would error?

comment:3 Changed 13 years ago by dmethvin

So should I close this ticket?

comment:4 Changed 13 years ago by doug

What is the difference between Msxml2.XMLHTTP.6.0 (which errors) and Microsoft.XMLHTTP?

The problem was introduced in jQuery 1.4 because the order of creating xhr was reversed.

What was the reason to reverse the order?


xhr: window.XMLHttpRequest && (window.location.protocol !== "file:"
!window.ActiveXObject) ?

function() {

return new window.XMLHttpRequest();

} : function() {

try {

return new window.ActiveXObject("Microsoft.XMLHTTP");

} catch(e) {}



xhr: function() {

return window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();


comment:6 Changed 12 years ago by dmethvin

More info:


This implies the reference to xhr.abort (not intended as a call) may actually cause a call for only *some* versions of the MS XMLHttpRequest ActiveX control. The try/catch around the replacement of the abort method may be masking the problem.

Do we have a specific version of IE where this is known to happen? Comment 2 says it happened on IE8 but standard $.ajax requests work fine on my test system. Seems like this will be impossible to fix without more info.

comment:7 Changed 12 years ago by dmethvin

Owner: set to doug
Status: newpending

We need to know the specific versions of the Microsoft XHR where this occurs in order to reproduce it.

comment:8 Changed 12 years ago by dmethvin

Keywords: needsreview removed

comment:9 Changed 12 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Automatically closed due to 14 days of inactivity.

Note: See TracTickets for help on using tickets.