зеркало из https://github.com/mozilla/gecko-dev.git
Back out 2bdc2ba16e56 (bug 856470) for making bug 910521 permaorange
This commit is contained in:
Родитель
7c55fa7963
Коммит
f5562801b3
|
@ -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();
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче