ok( foobar, "Script results returned (GET, no callback)" ); start(); 
ok( data.data, "JSON results returned (GET, no callback)" ); plus(); }, error: function(data){ ok( false, "Ajax error JSON (GET, no callback)" ); plus(); } });  $.ajax({ url: "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: "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: "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(); } });  $.ajax({ type: "POST", url: "data/jsonp.php", dataType: "jsonp", success: function(data){ ok( data.data, "JSON results returned (POST, no callback)" ); plus(); }, error: function(data){ ok( false, "Ajax error JSON (GET, data obj callback)" ); plus(); } });  $.ajax({ type: "POST", url: "data/jsonp.php", data: "callback=?", dataType: "jsonp", success: function(data){ ok( data.data, "JSON results returned (POST, data callback)" ); plus(); }, error: function(data){ ok( false, "Ajax error JSON (POST, data callback)" ); plus(); } });  $.ajax({ type: "POST", url: "data/jsonp.php", data: { callback: "?" }, dataType: "jsonp", success: function(data){ ok( data.data, "JSON results returned (POST, data obj callback)" ); plus(); }, error: function(data){ ok( false, "Ajax error JSON (POST, data obj callback)" ); plus(); 
test("$.ajax() - script, Remote", function() {	expect(2);	var base = window.location.href.replace(/\?.*$/, "");	stop();	window.foobar = null;	$.ajax({		url: base + "data/test.js",		dataType: "script",		success: function(data){			ok( foobar, "Script results returned (GET, no callback)" );			start();		}	});});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/06c2f06a2183ef17a8119ef25a383a02572c0b55/ajax.js/clean/test/unit/ajax.js