rem: this.receive = function(stateId, urlEncodedData){ 
add: receive: function(/*String*/stateId, /*String*/urlEncodedData){ 
context: 	this.receive = function(stateId, urlEncodedData){		/* urlEncodedData should have the following params:				- responseHeaders				- status				- statusText				- responseText		*/		//Decode response data.		var response = {};		var nvPairs = urlEncodedData.split("&");		for(var i = 0; i < nvPairs.length; i++){			if(nvPairs[i]){				var nameValue = nvPairs[i].split("=");				response[decodeURIComponent(nameValue[0])] = decodeURIComponent(nameValue[1]);			}		}		//Set data on facade object.		var state = this._state[stateId];		var facade = state.facade;		facade._setResponseHeaders(response.responseHeaders);		if(response.status == 0 || response.status){			facade.status = parseInt(response.status, 10);		}		if(response.statusText){			facade.statusText = response.statusText;		}		if(response.responseText){			facade.responseText = response.responseText;						//Fix responseXML.			var contentType = facade.getResponseHeader("Content-Type");			if(contentType && (contentType == "application/xml" || contentType == "text/xml")){				facade.responseXML = dojo.dom.createDocumentFromText(response.responseText, contentType);			}		}		facade.readyState = 4;				this.destroyState(stateId);	}
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/XhrIframeProxy.js/buggy/www/resources/dojo-ajax/src/io/XhrIframeProxy.js