bug=33093

a=edburns
r=ashuk

Force prefs to be read, causing the proxy data to be read.


git-svn-id: svn://10.0.0.236/trunk@63908 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2000-03-23 23:08:35 +00:00
parent 6e995249d3
commit 4287100562

View File

@@ -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);