mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1334443 - Crash in mozilla::net::nsProtocolProxyService::LoadHostFilters r=bagder
MozReview-Commit-ID: JugUEnMzQ4r
This commit is contained in:
parent
e92962ff1e
commit
60dca5c744
@ -642,10 +642,9 @@ nsProtocolProxyService::PrefsChanged(nsIPrefBranch *prefBranch,
|
||||
mFailedProxyTimeout);
|
||||
|
||||
if (!pref || !strcmp(pref, PROXY_PREF("no_proxies_on"))) {
|
||||
rv = prefBranch->GetCharPref(PROXY_PREF("no_proxies_on"),
|
||||
getter_Copies(tempString));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
LoadHostFilters(tempString.get());
|
||||
nsCString no_proxies;
|
||||
proxy_GetStringPref(prefBranch, PROXY_PREF("no_proxies_on"), no_proxies);
|
||||
LoadHostFilters(no_proxies.get());
|
||||
}
|
||||
|
||||
// We're done if not using something that could give us a PAC URL
|
||||
|
Loading…
Reference in New Issue
Block a user