mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
WIP test size reduction
This commit is contained in:
parent
0facb1a751
commit
7e9336d9fc
@ -63,12 +63,9 @@ jQuery.ajaxTransport( function( options ) {
|
|||||||
if ( type === "abort" ) {
|
if ( type === "abort" ) {
|
||||||
xhr.abort();
|
xhr.abort();
|
||||||
} else if ( type === "error" ) {
|
} else if ( type === "error" ) {
|
||||||
complete( {
|
|
||||||
|
|
||||||
// File: protocol always yields status 0; see trac-8605, trac-14207
|
// File: protocol always yields status 0; see trac-8605, trac-14207
|
||||||
status: xhr.status,
|
complete( xhr );
|
||||||
statusText: xhr.statusText
|
|
||||||
} );
|
|
||||||
} else {
|
} else {
|
||||||
complete( {
|
complete( {
|
||||||
status: xhrSuccessStatus[ xhr.status ] || xhr.status,
|
status: xhrSuccessStatus[ xhr.status ] || xhr.status,
|
||||||
|
Loading…
Reference in New Issue
Block a user