var self = MozillaFileLogger; return function (msg) { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); var data = msg.num + " " + msg.level + " " + msg.info.join(' ') + "\n"; self._foStream.write(data, data.length); if (data.indexOf("SimpleTest FINISH") >= 0) { self.close(); } 
return function (msg) { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); var data = msg.num + " " + msg.level + " " + msg.info.join(' ') + "\n"; MozillaFileLogger._foStream.write(data, data.length); if (data.indexOf("SimpleTest FINISH") >= 0) { MozillaFileLogger.close(); 
MozillaFileLogger.getLogCallback = function() {    var self = MozillaFileLogger;    return function (msg) {      netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");      var data = msg.num + " " + msg.level + " " + msg.info.join(' ') + "\n";      self._foStream.write(data, data.length);      if (data.indexOf("SimpleTest FINISH") >= 0) {        self.close();      }    }}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/23ba5ce55db46dea15535669cf2970d1aa46d05e/MozillaFileLogger.js/buggy/testing/mochitest/tests/SimpleTest/MozillaFileLogger.js