Implemented by
- @mozilla.org/system-proxy-settings;1
- @mozilla.org/system-proxy-settings;1
- @mozilla.org/system-proxy-settings;1
This interface allows the proxy code to use platform-specific proxy settings when the proxy preference is set to "automatic discovery". This service acts like a PAC parser to netwerk, but it will actually read the system settings and either return the proper proxy data from the autoconfig URL specified in the system proxy, or generate proxy data based on the system's manual proxy settings.
[scriptable, uuid(a9f3ae38-b769-4e0b-9317-578388e326c9)]
interface nsISystemProxySettings : nsISupports
Attributes
If non-empty, use this PAC file. If empty, call getProxyForURI instead.
readonly attribute
AUTF8String
PACURI
Methods
See nsIProxyAutoConfig::getProxyForURI; this function behaves exactly the same way.
AUTF8String
getProxyForURI(in nsIURI aURI)
Compare to: