rem: if (typeof msg != "string") msg = new XPCSafeJSObjectWraper(msg).toString(); 
add: msg = safeToString(msg); 
context: function proxyAlert(msg) {    // Ensure that we have a string.    if (typeof msg != "string")        msg = new XPCSafeJSObjectWraper(msg).toString();    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/f4030a0ebc837617efbc9a1f238f0c8a754cc9b2/nsProxyAutoConfig.js/clean/netwerk/base/src/nsProxyAutoConfig.js