rem: url: base + "data/test.js", type: "POST", dataType: "script", success: function(data, status){ ok( foobar, "Script results returned (GET, no callback)" ); equals( status, "success", "Script results returned (GET, no callback)" ); start(); 
add: url: base + "data/jsonp.php", dataType: "jsonp", success: function(data){ ok( data.data, "JSON results returned (GET, no callback)" ); plus(); }, error: function(data){ ok( false, "Ajax error JSON (GET, no callback)" ); plus(); } });  $.ajax({ url: base + "data/jsonp.php?callback=?", dataType: "jsonp", success: function(data){ ok( data.data, "JSON results returned (GET, url callback)" ); plus(); }, error: function(data){ ok( false, "Ajax error JSON (GET, url callback)" ); plus(); } });  $.ajax({ url: base + "data/jsonp.php", dataType: "jsonp", data: "callback=?", success: function(data){ ok( data.data, "JSON results returned (GET, data callback)" ); plus(); }, error: function(data){ ok( false, "Ajax error JSON (GET, data callback)" ); plus(); } });  $.ajax({ url: base + "data/jsonp.php", dataType: "jsonp", data: { callback: "?" }, success: function(data){ ok( data.data, "JSON results returned (GET, data obj callback)" ); plus(); }, error: function(data){ ok( false, "Ajax error JSON (GET, data obj callback)" ); plus(); 
context: test("$.ajax() - script, Remote with POST", function() {	expect(3);	var base = window.location.href.replace(/\?.*$/, "");	stop();	window.foobar = null;	$.ajax({		url: base + "data/test.js",		type: "POST",		dataType: "script",		success: function(data, status){			ok( foobar, "Script results returned (GET, no callback)" );			equals( status, "success", "Script results returned (GET, no callback)" );			start();		}	});});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/06c2f06a2183ef17a8119ef25a383a02572c0b55/ajax.js/buggy/test/unit/ajax.js