rem: dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^html text/), 'Check content for datatype html' ); ok( foo == "foo", 'Check if script was evaluated for datatype html' ); setTimeout(verifyEvaluation, 600); 
add: url: "data/with_fries.xml", dataType: "xml", type: "GET", data: "", success: function(resp) { ok( $("properties", resp).length == 1, 'properties in responseXML' ); ok( $("jsconf", resp).length == 1, 'jsconf in responseXML' ); ok( $("thing", resp).length == 2, 'things in responseXML' ); start(); 
context: test("$.ajax - dataType html", function() {	expect(4);	stop();	window.foobar = undefined;	window.foo = undefined;	var verifyEvaluation = function() {	  ok( foobar == "bar", 'Check if script src was evaluated for datatype html' );	  start();	};	$.ajax({	  dataType: "html",	  url: "data/test.html",	  success: function(data) {	    ok( data.match(/^html text/), 'Check content for datatype html' );	    ok( foo == "foo", 'Check if script was evaluated for datatype html' );	    setTimeout(verifyEvaluation, 600);	  }	});});
meta: 3217	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3217/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js