Skip to main content

Bug Tracker

Side navigation

#11122 closed bug (invalid)

Opened December 31, 2011 11:22PM UTC

Closed January 16, 2012 08:16AM UTC

Bug load dll in the XHR navigator IE6

Reported by: ramonornela Owned by: ramonornela
Priority: low Milestone: None
Component: ajax Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Problem in XHR (ajax/xhr.js line 44 the condition '("withCredentials" in xhr )') that throw exception interrupting the execution of the javascript in sequence (causing object $ and jQuery undefined).

Fix with:

(function( xhr ) {
    var withCredentials = false;
    try {
        withCredentials = "withCredentials" in xhr;
    } catch (e) {}
    jQuery.extend(, {
        ajax: !!xhr,
        cors: !!xhr && withCredentials
})( jQuery.ajaxSettings.xhr() );

Attachments (0)
Change History (2)

Changed January 01, 2012 06:43PM UTC by rwaldron comment:1

component: unfiledajax
owner: → ramonornela
priority: undecidedlow
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!

Additionally, be sure to test against the "jQuery (edge)" version to ensure the issue still exists. To get you started, use this boilerplate:

Open the link and click to "Fork" (in the top menu) to begin.

Changed January 16, 2012 08:16AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!