зеркало из https://github.com/mozilla/pjs.git
bug=33093
a=edburns r=ashuk Force prefs to be read, causing the proxy data to be read.
This commit is contained in:
Родитель
d10cf2f9a2
Коммит
8debd911c6
|
@ -427,7 +427,9 @@ nsresult InitMozillaStuff (WebShellInitContext * initContext)
|
|||
nsIPref::GetIID(),
|
||||
(nsISupports **)&prefs);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
prefs->ReadUserPrefs();
|
||||
if (nsnull == gHistory) { // only do this once per app.
|
||||
prefs->ReadUserPrefs();
|
||||
}
|
||||
// Set the prefs in the outermost webshell.
|
||||
initContext->webShell->SetPrefs(prefs);
|
||||
nsServiceManager::ReleaseService(kPrefCID, prefs);
|
||||
|
|
Загрузка…
Ссылка в новой задаче