rem: dojo.forEach(_inFlight, function(tif, arrIdx){ if(!tif){ return; } var dfd = tif.dfd; try{ if(!dfd || dfd.canceled || !tif.validCheck(dfd)){ _inFlight.splice(arrIdx, 1); return; } if(tif.ioCheck(dfd)){ _inFlight.splice(arrIdx, 1); tif.resHandle(dfd); }else if(dfd.startTime){  if(dfd.startTime + (dfd.ioArgs.args.timeout||0) < now){ _inFlight.splice(arrIdx, 1); var err = new Error("timeout exceeded"); err.dojoType = "timeout"; dfd.errback(err);  dfd.cancel(); } } }catch(e){  console.debug(e); dfd.errback(new Error("_watchInFlightError!")); } 
add: d.addBoth(function(value){ return handle.call(args, value, ioArgs); 
context: 			dojo.forEach(_inFlight, function(tif, arrIdx){				if(!tif){ return; }				var dfd = tif.dfd;				try{					if(!dfd || dfd.canceled || !tif.validCheck(dfd)){						_inFlight.splice(arrIdx, 1); return;					}					if(tif.ioCheck(dfd)){						_inFlight.splice(arrIdx, 1); // clean refs						tif.resHandle(dfd);					}else if(dfd.startTime){						//did we timeout?						if(dfd.startTime + (dfd.ioArgs.args.timeout||0) < now){							_inFlight.splice(arrIdx, 1); // clean refs							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!"));				}			});
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/99b898ca92c804bf3c4cef2456c343ef8f881675/xhr.js/buggy/_base/xhr.js