rem: uploadFile:function(id, callback, uri){ 
add: uploadFile:function(id, callback, uri, postData){ 
context: 	uploadFile:function(id, callback, uri){		var frameId = 'yuiIO' + id;		var io = document.getElementById(frameId);		// Initialize the HTML form properties in case they are		// not defined in the HTML form.		this._formNode.action = uri;		this._formNode.enctype = 'multipart/form-data';		this._formNode.method = 'POST';		this._formNode.target = frameId;		this._formNode.submit();		// Reset form status properties.		this._formNode = null;		this._isFileUpload = false;		this._isFormSubmit = false;		// Create the upload callback handler that fires when the iframe		// receives the load event.  Subsequently, the event handler is detached		// and the iframe removed from the document.		var uploadCallback = function()		{			var obj = {};			obj.tId = id;			obj.responseText = io.contentWindow.document.body?io.contentWindow.document.body.innerHTML:null;			obj.responseXML = io.contentWindow.document.XMLDocument?io.contentWindow.document.XMLDocument:io.contentWindow.document;			obj.argument = callback.argument;			if(callback.upload){				if(!callback.scope){					callback.upload(obj);					YAHOO.log('Upload callback.', 'info', 'Connection');				}				else{					callback.upload.apply(callback.scope, [obj]);					YAHOO.log('Upload callback with scope.', 'info', 'Connection');				}			}			if(YAHOO.util.Event){				YAHOO.util.Event.removeListener(io, "load", uploadCallback);			}			else if(window.ActiveXObject){				io.detachEvent('onload', uploadCallback);			}			else{				io.removeEventListener('load', uploadCallback, false);			}			setTimeout(function(){ document.body.removeChild(io); }, 100);			YAHOO.log('File upload iframe destroyed. Id is:' + frameId, 'info', 'Connection');		};		// Bind the onload handler to the iframe to detect the file upload response.		if(YAHOO.util.Event){			YAHOO.util.Event.addListener(io, "load", uploadCallback);		}		else if(window.ActiveXObject){			io.attachEvent('onload', uploadCallback);		}		else{			io.addEventListener('load', uploadCallback, false);		}	},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/connection-debug.js/buggy/www/resources/yui/connection/connection-debug.js