rem: string = string.replace(/[<>&]/g, htmlesc); var s = "<tt>"+ string ; s += "<b>" ; s += ( passed ) ? "<font color=#009900> &nbsp;" + PASSED : "<font color=#aa0000>&nbsp;" +  FAILED + expect + "</tt>"; DocumentWrite( s + "</font></b></tt><br>" ); 
context: function writeFormattedResult( expect, actual, string, passed ) {  string = String(string);  string = string.replace(/[<>&]/g, htmlesc);  var s = "<tt>"+ string ;  s += "<b>" ;  s += ( passed ) ? "<font color=#009900> &nbsp;" + PASSED    : "<font color=#aa0000>&nbsp;" +  FAILED + expect + "</tt>";  DocumentWrite( s + "</font></b></tt><br>" );  if (typeof dump == 'function')  {    dump( string + '\n');  }  return passed;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f577de167a7d5c2c46bde55f8215c4317b1d256f/browser.js/buggy/js/tests/js1_4/browser.js