mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Ajax: Run the PATCH test only in IE8 on TestSwarm
Fixes gh-1994 Closes gh-2026
This commit is contained in:
parent
ba352e83af
commit
2524da09c6
@ -1578,6 +1578,8 @@ module( "ajax", {
|
|||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
// BrowserStack PATCH support sometimes breaks so on TestSwarm run the test in IE8 only.
|
||||||
|
if ( location.search.indexOf( "swarmURL=" ) === -1 || document.documentMode < 9 ) {
|
||||||
ajaxTest( "#13240 - jQuery.ajax() - support non-RFC2616 methods", 1, {
|
ajaxTest( "#13240 - jQuery.ajax() - support non-RFC2616 methods", 1, {
|
||||||
url: "data/echoQuery.php",
|
url: "data/echoQuery.php",
|
||||||
method: "PATCH",
|
method: "PATCH",
|
||||||
@ -1587,7 +1589,8 @@ module( "ajax", {
|
|||||||
error: function() {
|
error: function() {
|
||||||
ok( false, "error" );
|
ok( false, "error" );
|
||||||
}
|
}
|
||||||
});
|
} );
|
||||||
|
}
|
||||||
|
|
||||||
testIframeWithCallback( "#14379 - jQuery.ajax() on unload", "ajax/onunload.html", function( status ) {
|
testIframeWithCallback( "#14379 - jQuery.ajax() on unload", "ajax/onunload.html", function( status ) {
|
||||||
expect( 1 );
|
expect( 1 );
|
||||||
|
Loading…
Reference in New Issue
Block a user