Bug 588135 - Fennec - Cannot submit forms [r=mfinkle]
authorBenjamin Stover <bstover@mozilla.com>
Wed, 18 Aug 2010 12:02:30 -0400
changeset 66457 2e845f32262cfd58854d1479de378e707a8751e4
parent 66456 09ad2b1d62e66f35dd725f7881b4d45590ed9a7e
child 66458 32846dc8980fcfbbad739b37f59d936b3e8f02de
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
bugs588135
Bug 588135 - Fennec - Cannot submit forms [r=mfinkle]
mobile/chrome/content/LoginManagerChild.js
--- a/mobile/chrome/content/LoginManagerChild.js
+++ b/mobile/chrome/content/LoginManagerChild.js
@@ -831,17 +831,17 @@ var loginManager = {
                     }
                     return;
 
                 case "DOMContentLoaded":
                     this._pwmgr._fillDocument(event.target);
                     break;
 
                 case "unload":
-                    Services.prefs.removeObserver("signon.", this._pwmgr);
+                    Services.prefs.removeObserver("signon.", this._pwmgr._observer);
                     Services.obs.removeObserver(this._pwmgr._observer, "earlyformsubmit");
                     break;
 
                 default:
                     this._pwmgr.log("Oops! This event unexpected.");
                     return;
             }
         }