rem: msg = safeToString(msg); 
add: if (typeof msg != "string") msg = new XPCSafeJSObjectWraper(msg).toString(); 
context: function proxyAlert(msg) {    // Ensure that we have a string.    msg = safeToString(msg);    try {        // It would appear that the console service is threadsafe.        var cns = Components.classes["@mozilla.org/consoleservice;1"]                            .getService(Components.interfaces.nsIConsoleService);        cns.logStringMessage("PAC-alert: "+msg);    } catch (e) {        dump("PAC: proxyAlert ERROR: "+e+"\n");    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/928f23d72de8f059feb4f438f51e864448edee81/nsProxyAutoConfig.js/buggy/netwerk/base/src/nsProxyAutoConfig.js