mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Backing out fix for #5803 from 3b50eaca2c.
This commit is contained in:
@@ -825,21 +825,6 @@ test("jQuery.ajax() - JSONP, Local", function() {
|
||||
plus();
|
||||
}
|
||||
});
|
||||
|
||||
// Supports Ticket #5803
|
||||
jQuery.ajax({
|
||||
url: "data/jsonp.php",
|
||||
jsonpCallback: "jsonpResults",
|
||||
success: function(data){
|
||||
ok( data.data, "JSON results returned without dataType:jsonp when jsonpCallback is defined" );
|
||||
plus();
|
||||
},
|
||||
error: function(data){
|
||||
ok( false, "Ajax error JSON (GET, custom callback name)" );
|
||||
plus();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
test("JSONP - Custom JSONP Callback", function() {
|
||||
|
||||
Reference in New Issue
Block a user