rem: test("$.ajaxTimeout(Number) with localtimeout", function() { stop(); $.ajaxTimeout(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(); } 
add: $.post(url("data/name.php"), {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); start(); 
context: test("$.ajaxTimeout(Number) with localtimeout", function() {	stop(); $.ajaxTimeout(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	$.ajaxTimeout(0);});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/2ef4093cf7f52383dd43bd361864edcda27e5c3c/ajaxTest.js/clean/src/ajax/ajaxTest.js