rem: url: "data/name.php?wait=5", error: pass, success: fail 
add: 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(); } 
context: test("$.ajaxTimeout(Number) - with global timeout", function() {	stop();	var passed = 0;	var timeout;	$.ajaxTimeout(1000);	var pass = function() {		passed++;		if(passed == 2) {			ok( true, 'Check local and global callbacks after timeout' );			clearTimeout(timeout);	     $('#main').unbind("ajaxError");			start();		}	};	var fail = function() {		ok( false, 'Check for timeout failed' );		start();	};	timeout = setTimeout(fail, 1500);	$('#main').ajaxError(pass);	$.ajax({	  type: "GET",	  url: "data/name.php?wait=5",	  error: pass,	  success: fail	});});
meta: 3217	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3217/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js