add:  view.nextLogFileDate = getNextLogFileDate(); 
context: function cli_startlog (view){    const NORMAL_FILE_TYPE = Components.interfaces.nsIFile.NORMAL_FILE_TYPE;    try    {        var file = new LocalFile(view.prefs["logFileName"]);        if (!file.localFile.exists())        {            // futils.umask may be 0022. Result is 0644.            file.localFile.create(NORMAL_FILE_TYPE, 0666 & ~futils.umask);        }        view.logFile = fopen(file.localFile, ">>");    }    catch (ex)    {        view.prefs["log"] = false;        dd("Log file open error: " + formatException(ex));        view.displayHere(getMsg(MSG_LOGFILE_ERROR, getLogPath(view)), MT_ERROR);        return;    }    view.displayHere(getMsg(MSG_LOGFILE_OPENED, getLogPath(view)));}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/9ec2f3d2b0accf884205aa3f6fc579e999fd6608/static.js/buggy/xul/content/static.js