rem: try { display (e.inputData, "EVAL-IN"); var rv = String(console.doEval (e.inputData)); if (typeof rv != "undefined") display (rv, "EVAL-OUT"); } catch (ex) { var str = "";  if (ex.fileName && ex.lineNumber && ex.message) { if (!ex.name) ex.name = "Error";  /* if it looks like a normal exception, print all the bits */ str = getMsg (MSN_EVAL_ERROR, [ex.name, ex.fileName, ex.lineNumber]); if (ex.functionName) str += " (" + ex.functionName + ")";  str += ": " + ex.message; } else /* otherwise, just convert to a string */ str = getMsg (MSN_EVAL_THREW, String(ex));  display (str, MT_ERROR); }  
add: if (e.inputData) evalInTargetScope (e.inputData) 
context: function con_ieval (e){    try    {        display (e.inputData, "EVAL-IN");        var rv = String(console.doEval (e.inputData));        if (typeof rv != "undefined")            display (rv, "EVAL-OUT");    }    catch (ex)    {        var str = "";                if (ex.fileName && ex.lineNumber && ex.message)        {            if (!ex.name)                ex.name = "Error";                            /* if it looks like a normal exception, print all the bits */            str = getMsg (MSN_EVAL_ERROR, [ex.name, ex.fileName, ex.lineNumber]);            if (ex.functionName)                str += " (" + ex.functionName + ")";            str += ": " + ex.message;        }        else            /* otherwise, just convert to a string */            str = getMsg (MSN_EVAL_THREW, String(ex));        display (str, MT_ERROR);    }        return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/752a94d07cb26c26285edcf6c69f6f95d88c5d01/venkman-handlers.js/buggy/extensions/venkman/resources/content/venkman-handlers.js