Bug 552828 - "update Form History to work with Electrolysis" [r=mfinkle]
authorMark Finkle <mark.finkle>
Fri, 25 Jun 2010 21:34:00 -0700
changeset 66453 89dd39bfdf438fd9b8eb2f72ec281ca460f94ffb
parent 66452 722be6c5a15f2a77d3da1741d3f7691c6ce94ecc
child 66455 3ec69509aa52a104be1f4c0a4084d59477a3aadd
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs552828
Bug 552828 - "update Form History to work with Electrolysis" [r=mfinkle]
mobile/chrome/content/browser.js
--- a/mobile/chrome/content/browser.js
+++ b/mobile/chrome/content/browser.js
@@ -495,18 +495,19 @@ var Browser = {
     os.addObserver(BrowserSearch, "browser-search-engine-modified", false);
 
     window.QueryInterface(Ci.nsIDOMChromeWindow).browserDOMWindow = new nsBrowserAccess();
 
     let browsers = document.getElementById("browsers");
     browsers.addEventListener("command", this._handleContentCommand, true);
     browsers.addEventListener("DOMUpdatePageReport", gPopupBlockerObserver.onUpdatePageReport, false);
 
-    // Login Manager
+    // Login Manager and Form History initialization
     Cc["@mozilla.org/login-manager;1"].getService(Ci.nsILoginManager);
+    Cc["@mozilla.org/satchel/form-history;1"].getService(Ci.nsIFormHistory2);
 
     // Make sure we're online before attempting to load
     Util.forceOnline();
 
     // Command line arguments/initial homepage
     let whereURI = this.getHomePage();
     if (needOverride == "new profile")
         whereURI = "about:firstrun";