File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -1578,16 +1578,19 @@ module( "ajax", {
15781578 }
15791579 } ) ;
15801580
1581- ajaxTest ( "#13240 - jQuery.ajax() - support non-RFC2616 methods" , 1 , {
1582- url : "data/echoQuery.php" ,
1583- method : "PATCH" ,
1584- success : function ( ) {
1585- ok ( true , "success" ) ;
1586- } ,
1587- error : function ( ) {
1588- ok ( false , "error" ) ;
1589- }
1590- } ) ;
1581+ // BrowserStack PATCH support sometimes breaks so on TestSwarm run the test in IE8 only.
1582+ if ( location . search . indexOf ( "swarmURL=" ) === - 1 || document . documentMode < 9 ) {
1583+ ajaxTest ( "#13240 - jQuery.ajax() - support non-RFC2616 methods" , 1 , {
1584+ url : "data/echoQuery.php" ,
1585+ method : "PATCH" ,
1586+ success : function ( ) {
1587+ ok ( true , "success" ) ;
1588+ } ,
1589+ error : function ( ) {
1590+ ok ( false , "error" ) ;
1591+ }
1592+ } ) ;
1593+ }
15911594
15921595 testIframeWithCallback ( "#14379 - jQuery.ajax() on unload" , "ajax/onunload.html" , function ( status ) {
15931596 expect ( 1 ) ;
You can’t perform that action at this time.
0 commit comments