rem: FBTrace.dumpProperties("evalInSandBox FAILS sandbox uri="+win.location.href+" and text=\n"+text+"\n", exc); try { var evaledText = eval(text); FBTrace.dumpProperties("\n\n eval(text)=", evaledText); } catch (evalExc) { FBTrace.dumpProperties("eval(text) also FAILS", exc); } 
add: if (FBTrace.DBG_ERRORS) FBTrace.dumpProperties("evalInSandBox FAILS sandbox uri="+win.location.href+" and text=\n"+text+"\n", exc); /*@explore*/ throw "Components.utils.Sandbox evalInSandbox FAILS "+exc; 
context: this.evalInTo = function(win, text){    var sandbox = new Components.utils.Sandbox(win.location.href);    try    {        sandbox.win = win;        Components.utils.evalInSandbox(text, sandbox);    }    catch(exc)    {        FBTrace.dumpProperties("evalInSandBox FAILS sandbox uri="+win.location.href+" and text=\n"+text+"\n", exc);        try        {            var evaledText = eval(text);            FBTrace.dumpProperties("\n\n eval(text)=", evaledText);        }        catch (evalExc)        {            FBTrace.dumpProperties("eval(text) also FAILS", exc);        }    }}
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/856922939002b0d3462c04ce77a6e2ad91741388/lib.js/clean/extension/content/firebug/lib.js