#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: |
Description
There's a conflict between jQuery 1.4 and Sarissa.
Similar reports:
https://jira.jboss.org/jira/browse/RF-8282
http://code.google.com/p/google-web-toolkit/issues/detail?id=3608
Change History (9)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
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:4 Changed 13 years ago by
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?
1.4
!window.ActiveXObject) ? |
function() {
return new window.XMLHttpRequest();
} : function() {
try {
return new window.ActiveXObject("Microsoft.XMLHTTP");
} catch(e) {}
},
1.3
xhr: function() {
return window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
},
comment:5 Changed 12 years ago by
Keywords: | needsreview added |
---|---|
Priority: | → low |
comment:6 Changed 12 years ago by
More info:
http://code.google.com/p/jstree/issues/detail?id=430#c6
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
Owner: | set to doug |
---|---|
Status: | new → pending |
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
Keywords: | needsreview removed |
---|
comment:9 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Automatically closed due to 14 days of inactivity.
Another similar report: http://code.google.com/p/jstree/issues/detail?id=430