Skip to main content

Bug Tracker

Side navigation

#6480 closed bug (duplicate)

Opened April 25, 2010 03:19PM UTC

Closed May 22, 2010 03:10PM UTC

Create XHR object sometimes fails on IE7/8

Reported by: Mac_J Owned by:
Priority: Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: ajax XHR XMLHTTP XMLHttpRequest Cc:
Blocked by: Blocking:
Description

In some case, it dosn't work when you open web page at first. Must refresh the page.

I modified code at line 4952. It's work.

xhr: function() {

try {

return new ActiveXObject("Msxml2.XMLHTTP");

} catch (e) {

try {

return new ActiveXObject("Microsoft.XMLHTTP");

} catch (e2) {}

}

if (!xmlHttp && typeof XMLHttpRequest != 'undefined')

return new XMLHttpRequest();

},

Attachments (0)
Change History (4)

Changed April 25, 2010 03:22PM UTC by Mac_J comment:1

It appeared in IE8 that I just test.

Changed May 22, 2010 02:57PM UTC by Bradley comment:2

keywords: XHR XMLHTTP XMLHttpRequestajax XHR XMLHTTP XMLHttpRequest
milestone: 1.4.21.4.3
summary: JQUERY1.4.2 Create XHR Object BUGjQuery 1.4.2 create XHR object sometimes fails on IE7/8

Test case available at dup #6586

Changed May 22, 2010 02:58PM UTC by Bradley comment:3

summary: jQuery 1.4.2 create XHR object sometimes fails on IE7/8Create XHR object sometimes fails on IE7/8

Changed May 22, 2010 03:10PM UTC by Bradley comment:4

resolution: → duplicate
status: newclosed

Duplicate of #6298, has test case.