rem: test("$.ajaxTimeout(Number) with localtimeout", function() { stop(); $.ajaxTimeout(50); $.ajax({ type: "GET", timeout: 5000, url: "data/name.php?wait=1", error: function() { ok( false, 'Check for local timeout failed' ); start(); }, success: function() { ok( true, 'Check for local timeout' ); start(); } });  $.ajaxTimeout(0); }); 
add: $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); 
context: test("$.ajaxTimeout(Number) with localtimeout", function() {	stop(); $.ajaxTimeout(50);	$.ajax({	  type: "GET",	  timeout: 5000,	  url: "data/name.php?wait=1",	  error: function() {		   ok( false, 'Check for local timeout failed' );		   start();	  },	  success: function() {	    ok( true, 'Check for local timeout' );	    start();	  }	});	// reset timeout	$.ajaxTimeout(0);});
meta: 6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js