diff --git a/toolkit/content/widgets/remote-browser.xml b/toolkit/content/widgets/remote-browser.xml index 1937dc09fa9..66a98bbd5de 100644 --- a/toolkit/content/widgets/remote-browser.xml +++ b/toolkit/content/widgets/remote-browser.xml @@ -82,7 +82,6 @@ diff --git a/toolkit/modules/RemoteWebProgress.jsm b/toolkit/modules/RemoteWebProgress.jsm index c04629dec3e..f6003a00e69 100644 --- a/toolkit/modules/RemoteWebProgress.jsm +++ b/toolkit/modules/RemoteWebProgress.jsm @@ -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; },