rem: if(dfd.startTime + (dfd.ioArgs.args.timeout||0) < now){ 
add: if(dfd.startTime + (dfd.ioArgs.args.timeout || 0) < now){ 
context: 	var _watchInFlight = function(){		//summary: 		//		internal method that checks each inflight XMLHttpRequest to see		//		if it has completed or if the timeout situation applies.				var now = (new Date()).getTime();		// make sure sync calls stay thread safe, if this callback is called		// during a sync call and this results in another sync call before the		// first sync call ends the browser hangs		if(!_d._blockAsync){			// we need manual loop because we often modify _inFlight (and therefore 'i') while iterating			// note: the second clause is an assigment on purpose, lint may complain			for(var i=0, tif; (i<_inFlight.length)&&(tif=_inFlight[i]); i++){				var dfd = tif.dfd;				try{					if(!dfd || dfd.canceled || !tif.validCheck(dfd)){						_inFlight.splice(i--, 1); 					}else if(tif.ioCheck(dfd)){						_inFlight.splice(i--, 1);						tif.resHandle(dfd);					}else if(dfd.startTime){						//did we timeout?						if(dfd.startTime + (dfd.ioArgs.args.timeout||0) < now){							_inFlight.splice(i--, 1);							var err = new Error("timeout exceeded");							err.dojoType = "timeout";							dfd.errback(err);							//Cancel the request so the io module can do appropriate cleanup.							dfd.cancel();						}					}				}catch(e){					// FIXME: make sure we errback!					console.debug(e);					dfd.errback(new Error("_watchInFlightError!"));				}			}		}		if(!_inFlight.length){			clearInterval(_inFlightIntvl);			_inFlightIntvl = null;			return;		}	}
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/31ff3793be777ed4ec7332017d4ac48874e2e55e/xhr.js/buggy/_base/xhr.js