From fc0d2b7cfb3a5bb73d489e6e5d63995e920e9b3b Mon Sep 17 00:00:00 2001 From: "blizzard%redhat.com" Date: Mon, 11 Jun 2001 21:54:48 +0000 Subject: [PATCH] Fix bug #85290. "proxy autoconfig module needs to shut the hell up" r=gerv,rs=tor,a=asa git-svn-id: svn://10.0.0.236/trunk@96894 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/base/src/nsProxyAutoConfig.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mozilla/netwerk/base/src/nsProxyAutoConfig.js b/mozilla/netwerk/base/src/nsProxyAutoConfig.js index e87a95fc25a..765422466e2 100644 --- a/mozilla/netwerk/base/src/nsProxyAutoConfig.js +++ b/mozilla/netwerk/base/src/nsProxyAutoConfig.js @@ -35,11 +35,6 @@ const nsIProxyAutoConfig = Components.interfaces.nsIProxyAutoConfig; const nsIIOService = Components.interfaces['nsIIOService']; const nsIDNSService = Components.interfaces.nsIDNSService; -function debug(msg) -{ - dump("\nPAC:" + msg + "\n\n"); -} - // implementor of nsIProxyAutoConfig function nsProxyAutoConfig() {}; @@ -70,7 +65,6 @@ nsProxyAutoConfig.prototype = { var uri = url.QueryInterface(Components.interfaces.nsIURI); // Call the original function- var proxy = LocalFindProxyForURL(uri.spec, uri.host); - debug("Proxy = " + proxy); if (proxy == "DIRECT") { host.value = null; type.value = "direct"; @@ -89,7 +83,6 @@ nsProxyAutoConfig.prototype = { }, LoadPACFromURL: function(uri, ioService) { - debug("Loading PAC from " + uri.spec); this.done = false; var channel = ioService.newChannelFromURI(uri); pacURL = uri.spec; @@ -129,7 +122,6 @@ var pacModule = new Object(); pacModule.registerSelf = function (compMgr, fileSpec, location, type) { - dump("*** Registering Proxy Auto Config (a Javascript module!) \n"); compMgr.registerComponentWithType(kPAC_CID, "Proxy Auto Config", kPAC_CONTRACTID, @@ -150,7 +142,6 @@ function (compMgr, cid, iid) { pacModule.canUnload = function (compMgr) { - dump("*** Unloading Proxy Auto Config...\n"); return true; }