diff --git a/dom/base/DOMRequestHelper.jsm b/dom/base/DOMRequestHelper.jsm index 322509dda57..686169b3b27 100644 --- a/dom/base/DOMRequestHelper.jsm +++ b/dom/base/DOMRequestHelper.jsm @@ -159,12 +159,6 @@ DOMRequestIpcHelper.prototype = { }, destroyDOMRequestHelper: function() { - if (this._destroyed) { - return; - } - - this._destroyed = true; - Services.obs.removeObserver(this, "inner-window-destroyed"); if (this._listeners) { @@ -178,11 +172,6 @@ DOMRequestIpcHelper.prototype = { this._listeners = null; this._requests = null; this._window = null; - - // Objects inheriting from DOMRequestIPCHelper may have an uninit function. - if (this.uninit) { - this.uninit(); - } }, observe: function(aSubject, aTopic, aData) {