Bug 898170 - Don't remove listeners after their message manager is gone (r=felipe)

This commit is contained in:
Bill McCloskey 2013-07-26 14:26:40 -07:00
parent ab16b8e689
commit afd3a29cc3
2 changed files with 0 additions and 5 deletions

View File

@ -82,7 +82,6 @@
<destructor>
<![CDATA[
this.messageManager.removeMessageListener("DOMTitleChanged", this);
this.webProgress._destroy();
]]>
</destructor>

View File

@ -53,10 +53,6 @@ RemoteWebProgress.prototype = {
},
_destroy: function WP_Destroy() {
this._browser.messageManager.removeMessageListener("Content:StateChange", this);
this._browser.messageManager.removeMessageListener("Content:LocationChange", this);
this._browser.messageManager.removeMessageListener("Content:SecurityChange", this);
this._browser.messageManager.removeMessageListener("Content:StatusChange", this);
this._browser = null;
},