From 4db019c88bdbb835c93e2bb8a6806f66289aace1 Mon Sep 17 00:00:00 2001 From: "jab%atdot.org" Date: Wed, 17 May 2006 02:26:08 +0000 Subject: [PATCH] a=brendan@mozilla.org Bug #16103 Support for SOCKS proxies in HTTP, HTTPS, and FTP protocols. Also includes the prefs configuration and UI bits. --- suite/common/pref/pref-proxies.js | 6 ++++-- suite/common/pref/pref-proxies.xul | 12 +++++++++++- .../en-US/chrome/common/pref/pref-proxies.dtd | 3 +++ 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/suite/common/pref/pref-proxies.js b/suite/common/pref/pref-proxies.js index 8a7623cfe28..c5d6f197839 100644 --- a/suite/common/pref/pref-proxies.js +++ b/suite/common/pref/pref-proxies.js @@ -26,12 +26,14 @@ function DoEnabling() var httpPort = document.getElementById("networkProxyHTTP_Port"); var ssl = document.getElementById("networkProxySSL"); var sslPort = document.getElementById("networkProxySSL_Port"); + var socks = document.getElementById("networkProxySOCKS"); + var socksPort = document.getElementById("networkProxySOCKS_Port"); var noProxy = document.getElementById("networkProxyNone"); var autoURL = document.getElementById("networkProxyAutoconfigURL"); var autoReload = document.getElementById("autoReload"); // convenience arrays - var manual = [ftp, ftpPort, http, httpPort, ssl, sslPort, noProxy]; + var manual = [ftp, ftpPort, http, httpPort, ssl, sslPort, socks, socksPort, noProxy]; var auto = [autoURL, autoReload]; // radio buttons @@ -58,4 +60,4 @@ function DoEnabling() auto[i].removeAttribute( "disabled" ); break; } -} \ No newline at end of file +} diff --git a/suite/common/pref/pref-proxies.xul b/suite/common/pref/pref-proxies.xul index 4be95bb0fd1..c06e89de6a5 100644 --- a/suite/common/pref/pref-proxies.xul +++ b/suite/common/pref/pref-proxies.xul @@ -32,7 +32,7 @@ @@ -88,6 +88,16 @@ prefattribute="value" size="5"/> + + + + + + + + + + +