if (FBTrace.DBG_STACK) FBTrace.dumpStack("lib.getFunctionName FAILS typeof(script)="+typeof(script)+"\n");     /*@explore*/ return "(no script)"; } var name = script.functionName;  if (!name) { if (context.evalSourceURLByTag) { var url = context.evalSourceURLByTag[script.tag]; if (url) return "__eval_level__"; } var file_name = this.getFileName(script.fileName); file_name = file_name ? file_name: "__top_level__"; return file_name; } else if (name == "anonymous") {  if (context.evalSourceURLByTag) { var url =  context.evalSourceURLByTag[script.tag];  if (url) return this.guessFunctionName(url, context.evalBaseLineNumberByTag[script.tag], context); } if (FBTrace.DBG_STACK) FBTrace.sysout("getFunctionName for anonymous non-eval function, script.baselineNumber="+script.baseLineNumber+" line for PC=0:"+script.pcToLine(0, PCMAP_SOURCETEXT)+"\n");     /*@explore*/ return this.guessFunctionName(script.fileName, script.baseLineNumber, context); }  return name; }; 
}, 
this.getFunctionName = function(script, context, frame)  // XXXjjb need frame to avoid analyzing top level{    if (!script)    {        if (FBTrace.DBG_STACK) FBTrace.dumpStack("lib.getFunctionName FAILS typeof(script)="+typeof(script)+"\n");     /*@explore*/        return "(no script)";    }    var name = script.functionName;    if (!name) // XXXjjb eval frames have blank names, !name == true    {        if (context.evalSourceURLByTag) {            var url = context.evalSourceURLByTag[script.tag];            if (url)                return "__eval_level__";        }        var file_name = this.getFileName(script.fileName);        file_name = file_name ? file_name: "__top_level__";        return file_name;    }    else if (name == "anonymous")    {        if (context.evalSourceURLByTag)        {            var url =  context.evalSourceURLByTag[script.tag];            if (url)                return this.guessFunctionName(url, context.evalBaseLineNumberByTag[script.tag], context);        }        if (FBTrace.DBG_STACK) FBTrace.sysout("getFunctionName for anonymous non-eval function, script.baselineNumber="+script.baseLineNumber+" line for PC=0:"+script.pcToLine(0, PCMAP_SOURCETEXT)+"\n");     /*@explore*/        return this.guessFunctionName(script.fileName, script.baseLineNumber, context);    }    return name;};
2454	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2454/c5f013dccda5f25ec6c3894c73898353bae36759/lib.js/buggy/extension/content/firebug/lib.js