rem: $('#first').load(url('data/test.php'), function() { 
add: test("load(String, Object, Function) - check scripts", function() { expect(7); stop(); window.testFoo = undefined; window.foobar = null; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated after load' ); ok( $('#ap').html() == 'bar', 'Check if script evaluation has modified DOM'); start(); }; $('#first').load(url('data/test.php'), function() { 
context: 	$('#first').load(url('data/test.php'), function() {	  ok( $('#first').html().match(/^html text/), 'Check content after loading html' );	  ok( $('#foo').html() == 'foo', 'Check if script evaluation has modified DOM');	  ok( testFoo == "foo", 'Check if script was evaluated after load' );	  setTimeout(verifyEvaluation, 600);	});
meta: 5264	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5264/d776dc9d5c5322e81b56272728325990ed6892bb/ajaxTest.js/buggy/src/ajax/ajaxTest.js