Lines Matching refs:xhr
7752 jQuery.ajaxSettings.xhr = window.ActiveXObject ?
7766 (function( xhr ) {
7768 ajax: !!xhr,
7769 cors: !!xhr && ( "withCredentials" in xhr )
7771 })( jQuery.ajaxSettings.xhr() );
7786 var xhr = s.xhr(),
7793 xhr.open( s.type, s.url, s.async, s.username, s.password );
7795 xhr.open( s.type, s.url, s.async );
7801 xhr[ i ] = s.xhrFields[ i ];
7806 if ( s.mimeType && xhr.overrideMimeType ) {
7807 xhr.overrideMimeType( s.mimeType );
7822 xhr.setRequestHeader( i, headers[ i ] );
7829 xhr.send( ( s.hasContent && s.data ) || null );
7846 if ( callback && ( isAbort || xhr.readyState === 4 ) ) {
7853 xhr.onreadystatechange = jQuery.noop;
7862 if ( xhr.readyState !== 4 ) {
7863 xhr.abort();
7866 status = xhr.status;
7867 responseHeaders = xhr.getAllResponseHeaders();
7869 xml = xhr.responseXML;
7875 responses.text = xhr.responseText;
7880 statusText = xhr.statusText;
7914 if ( !s.async || xhr.readyState === 4 ) {
7928 xhr.onreadystatechange = callback;