WIP test size reduction

This commit is contained in:
Michał Gołębiowski-Owczarek 2020-03-02 22:12:34 +01:00 committed by Michał Gołębiowski-Owczarek
parent bc5f82ba1d
commit a16ab31f48
No known key found for this signature in database

View File

@ -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,