THIS IS A PRIVATE INTERFACE
It exists purely as a hack to support the configureFromPAC method used by the preference panels in the various apps. Those apps need to be taught to just use the preferences API to "reload" the PAC file. Then, at that point, we can eliminate this interface completely.
This interface is intended to be used as a service. To create an object implementing this interface:
var obj = Components.classes["@mozilla.org/network/protocol-proxy-service;1"]. getService(Components.interfaces.nsPIProtocolProxyService);
void configureFromPAC ( AUTF8String URI )
This method may be called to re-configure proxy settings given a URI to a new proxy auto config file. This method may return before the configuration actually takes affect (i.e., the URI may be loaded asynchronously).
WARNING: This method is considered harmful since it may cause the PAC preferences to be out of sync with the state of the Protocol Proxy Service. This method is going to be eliminated in the near future.
- URI: The location of the PAC file to load. If this value is empty, then the PAC configuration will be removed.
Reference documentation is generated from Mozilla's source.