Bug 916038 - Remove XULBrowserWindow.destroy. r=gavin

This commit is contained in:
Dão Gottwald
2013-09-17 10:04:26 +02:00
parent 84e9c82e05
commit aaea4881b8

View File

@@ -1435,7 +1435,6 @@ var gBrowserInit = {
}
// Final window teardown, do this last.
window.XULBrowserWindow.destroy();
window.XULBrowserWindow = null;
window.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIWebNavigation)
@@ -3690,14 +3689,6 @@ var XULBrowserWindow = {
this.onSecurityChange(null, null, securityUI.state);
},
destroy: function () {
// XXXjag to avoid leaks :-/, see bug 60729
delete this.throbberElement;
delete this.stopCommand;
delete this.reloadCommand;
delete this.statusText;
},
setJSStatus: function () {
// unsupported
},