mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1050598 - changing the pac uri should be synchronous r=hurley
--HG-- extra : rebase_source : 15cbe1d0b6c0aa966d217d7a3c64f2295eedb923
This commit is contained in:
parent
f425449e9d
commit
d0aae02f51
@ -565,6 +565,10 @@ nsProtocolProxyService::PrefsChanged(nsIPrefBranch *prefBranch,
|
||||
if (mProxyConfig == PROXYCONFIG_PAC) {
|
||||
prefBranch->GetCharPref(PROXY_PREF("autoconfig_url"),
|
||||
getter_Copies(tempString));
|
||||
if (mPACMan && !mPACMan->IsPACURI(tempString)) {
|
||||
LOG(("PAC Thread URI Changed - Reset Pac Thread"));
|
||||
ResetPACThread();
|
||||
}
|
||||
} else if (mProxyConfig == PROXYCONFIG_WPAD) {
|
||||
// We diverge from the WPAD spec here in that we don't walk the
|
||||
// hosts's FQDN, stripping components until we hit a TLD. Doing so
|
||||
|
Loading…
Reference in New Issue
Block a user