Back out 2bdc2ba16e56 (bug 856470) for making bug 910521 permaorange

This commit is contained in:
Phil Ringnalda 2013-09-15 10:09:39 -07:00
parent c3504e75c1
commit 5ca38d0784
3 changed files with 8 additions and 0 deletions

View File

@ -1048,6 +1048,9 @@ var gBrowserInit = {
AddonManager.addAddonListener(AddonsMgrListener);
WebrtcIndicator.init();
// Ensure login manager is up and running.
Services.logins;
#ifdef MOZ_CRASHREPORTER
if (gMultiProcessBrowser)
TabCrashReporter.init();

View File

@ -141,6 +141,8 @@ var BrowserUI = {
Util.dumpLn("* delay load started...");
window.removeEventListener("UIReadyDelayed", delayedInit, false);
// Login Manager and Form History initialization
Cc["@mozilla.org/login-manager;1"].getService(Ci.nsILoginManager);
messageManager.addMessageListener("Browser:MozApplicationManifest", OfflineApps);
try {

View File

@ -337,6 +337,9 @@ var BrowserApp = {
AccessFu.attach(window);
#endif
// Init LoginManager
Cc["@mozilla.org/login-manager;1"].getService(Ci.nsILoginManager);
let url = null;
let pinned = false;
if ("arguments" in window) {