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