  $.ajaxSetup({timeout: 0}); }); 
test("$.ajaxSetup({timeout: Number}) - with global timeout", function() {	stop();		var passed = 0;	$.ajaxSetup({timeout: 1000});		var pass = function() {		passed++;		if ( passed == 2 ) {			ok( true, 'Check local and global callbacks after timeout' );	     	$('#main').unbind("ajaxError");			start();		}	};		var fail = function(a,b,c) {		ok( false, 'Check for timeout failed ' + a + ' ' + b );		start();	};		$('#main').ajaxError(pass);		$.ajax({	  type: "GET",	  url: url("data/name.php?wait=5"),	  error: pass,	  success: fail	});		// reset timeout	$.ajaxSetup({timeout: 0});});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/06c2f06a2183ef17a8119ef25a383a02572c0b55/ajax.js/clean/test/unit/ajax.js