Implemented by
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.
[scriptable, uuid(d2c7b3eb-7778-468b-ae9b-c106c2afb5d1)]
interface nsPIProtocolProxyService : nsIProtocolProxyService
Methods
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.
@param aURI
The location of the PAC file to load. If this value is empty,
then the PAC configuration will be removed.
void
configureFromPAC(in AUTF8String aURI)
Compare to: