Backed out changesets 6deb17bc6c56 and 7952fadd1732 (bug 839280) for mochitest-other crashes.
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 07 Mar 2013 19:10:52 -0500
changeset 124251 1156d4f8ec2c037f4299fdf9427d50f80db1cc92
parent 124250 6deb17bc6c567c8b10591db48f9241365ea3901c
child 124252 2d7845ad3cd81a122d39faaabd12d827ab411f79
push id24315
push userryanvm@gmail.com
push dateFri, 08 Mar 2013 19:30:04 +0000
treeherdermozilla-inbound@b4bfc1c0829c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs839280
milestone22.0a1
backs out6deb17bc6c567c8b10591db48f9241365ea3901c
7952fadd1732442445aef29332d74e8ab0a5ecaa
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changesets 6deb17bc6c56 and 7952fadd1732 (bug 839280) for mochitest-other crashes.
browser/devtools/framework/Toolbox.jsm
toolkit/components/passwordmgr/nsLoginManager.js
--- a/browser/devtools/framework/Toolbox.jsm
+++ b/browser/devtools/framework/Toolbox.jsm
@@ -691,20 +691,16 @@ Toolbox.prototype = {
     gDevTools.off("tool-unregistered", this._toolUnregistered);
 
     let outstanding = [];
 
     for (let [id, panel] of this._toolPanels) {
       outstanding.push(panel.destroy());
     }
 
-    let container = this.doc.getElementById("toolbox-buttons");
-    while(container.firstChild)
-      container.removeChild(container.firstChild);
-
     outstanding.push(this._host.destroy());
 
     // Targets need to be notified that the toolbox is being torn down, so that
     // remote protocol connections can be gracefully terminated.
     if (this._target) {
       this._target.off("close", this.destroy);
       outstanding.push(this._target.destroy());
     }
--- a/toolkit/components/passwordmgr/nsLoginManager.js
+++ b/toolkit/components/passwordmgr/nsLoginManager.js
@@ -279,17 +279,16 @@ LoginManager.prototype = {
         handleEvent : function (event) {
             if (!event.isTrusted)
                 return;
 
             this._pwmgr.log("domEventListener: got event " + event.type);
 
             switch (event.type) {
                 case "DOMContentLoaded":
-                    event.target.removeEventListener(event.type, this, false);
                     this._pwmgr._fillDocument(event.target);
                     return;
 
                 case "DOMAutoComplete":
                 case "blur":
                     var acInputField = event.target;
                     var acForm = acInputField.form;