rem: var div = document.createElement("div"); div.appendChild(document.createTextNode(line)); console.appendChild(div); } catch (e) { try{  document.write("<div>" + line + "</div>"); }catch(e2){ window.status = line; 
add: var div = document.createElement("div"); div.appendChild(document.createTextNode(line)); console.appendChild(div); } catch (e) { try{  document.write("<div>" + line + "</div>"); }catch(e2){ window.status = line; } 
context: dojo.hostenv.println = function (line){	if(!dojo.hostenv._println_safe){		dojo.hostenv._println_buffer.push(line);	}else{		try {			var console = document.getElementById(djConfig.debugContainerId ?				djConfig.debugContainerId : dojo.hostenv.defaultDebugContainerId);			if(!console) { console = dojo.body(); }			var div = document.createElement("div");			div.appendChild(document.createTextNode(line));			console.appendChild(div);		} catch (e) {			try{				// safari needs the output wrapped in an element for some reason				document.write("<div>" + line + "</div>");			}catch(e2){				window.status = line;			}		}	}}
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/hostenv_browser.js/buggy/www/resources/dojo-ajax/src/hostenv_browser.js