rem: error = function() { counter.error++ }; 
add: error = function() { counter.error++ }, complete = function() { counter.complete++ }, send = function() { counter.send++ }; 
context: test("test global handlers - failure", function() {	expect(6);	stop();	var counter = { complete: 0, success: 0, error: 0 },		success = function() { counter.success++ },		error = function() { counter.error++ };	$.ajaxTimeout(0);	$.ajax({url: "data/name.php", global: false, success: success, error: error, complete: function() {	  ok( counter.error == 0, 'Check sucesful request without globals' );	  ok( counter.success == 1, 'Check sucesful request without globals' );	  ok( counter.complete == 0, 'Check sucesful request without globals' );	  counter.error = counter.success = counter.complete = 0;	  $.ajaxTimeout(500);	  $.ajax({url: "data/name.php?wait=5", global: false, success: success, error: error, complete: function() {	     ok( counter.error == 1, 'Check failed request without globals' );	     ok( counter.success == 0, 'Check failed request without globals' );	     ok( counter.complete == 0, 'Check failed request without globals' );	     start();	  }});	}});});
meta: 1471	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1471/010a112e048f932aff7feeb9987eec7a64e5328b/ajaxTest.js/buggy/src/ajax/ajaxTest.js