rem: test("$.ajaxSetup({timeout: Number}) with localtimeout", function() { stop(); $.ajaxSetup({timeout: 50});  $.ajax({ type: "GET", timeout: 5000, url: 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(); } });   $.ajaxSetup({timeout: 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("$.ajaxSetup({timeout: Number}) with localtimeout", function() {	stop();	$.ajaxSetup({timeout: 50});	$.ajax({	  type: "GET",	  timeout: 5000,	  url: 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	$.ajaxSetup({timeout: 0});});
meta: 5264	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5264/06c2f06a2183ef17a8119ef25a383a02572c0b55/ajax.js/buggy/test/unit/ajax.js